Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

asp.netÉú³É¾²Ì¬Ò³Ãæ

Default..aspx
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
Default..aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.IO;
using sqlpublic;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string url = Server.MapPath("~/default.html");
if (File.Exists(url))
File.Delete(url);
Response.Filter = new ResponseFilter(Response.Filter, Server.MapPath("~/Default.html"));
}
}
ResponseFilter.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace sqlpublic
{
public class ResponseFilter : Stream
{
private Stream m_sink;
private long m_position;
private FileStream fs;
public ResponseFilter(Stream sink, string path)
{
m_sink = sink;
fs = new FileStream(path, FileMode.OpenOrCreate, FileAccess.Write);
}
// The following members of Stream must be overriden.
public override bool CanRead
{
get
{
return true;
}
}
public override bool CanSeek
{
get
{
return false;
}
}
public override bool CanWrite
{
get
{
return false;
}
}
public override long Length
{
get
{
return 0;
}
}
public override long Position
{
get
{
return m_position;
}
set
{
m_p


Ïà¹ØÎĵµ£º

asp.netµÄÒì³£´¦Àí»úÖÆ


    ³ÌÐò¿ª·¢ÖУ¬Êý¾ÝÁ÷°´ÕÕÒ»¶¨µÄ¹æÂɽøÐд«Ê䣬Èç¹ûÓû§ºÍ³ÌÐòÖ®¼äµÄ½»»¥ÍêÈ«°´ÕÕÔ¤¶¨µÄЧ¹ûÔËÐУ¬³ÌÐò²»»á³öÏÖÎÊÌâ¡£¿ÉÒÔ¼ÙÉèËù´¦ÀíµÄÊý¾Ý¶¼·ûºÏÒªÇó£¬Í¨¹ý½çÃæ×÷¸ñʽÅж¨£¬ËùÓÐ×ÊÔ´¶¼ÕýÈ·£¬µ«ÊÇΪÁËϵͳµÄ°²È«£¬ÐèÒª´¦Àí´æÔÚµÄÒþ»¼£¬²»ÄܶÔÊý¾Ý°²È«±§ÓÐÀíÏ뻯µÄÏë·¨¡£
    ÔÚASP.NET ......

ajax+asp.net/asp/php+mssqlÎÞË¢ÐÂÁÄÌìÊÒ

ajax+asp.net+mssqlʵÏÖµÄajaxÎÞË¢ÐÂÁÄÌìÊÒ£¬Ö§³Öhtml web±à¼­Æ÷¡£
ΪÁ˼ӿìËٶȣ¬Ê¹ÓÃÁË´æ´¢¹ý³Ì¡£
asp¼°php°æ±¾Çë¿´ÏÂÃæµÄÎÄÕÂ
ajax+asp+mssqlÎÞË¢ÐÂÁÄÌìÊÒ
ajax+php+mssqlÎÞË¢ÐÂÁÄÌìÊÒ
´ËÀý×ÓÒ²¿ÉÒÔ×÷Ϊmssql´æ´¢¹ý³ÌʹÓõÄʾÀý£¬Èçphpµ÷ÓÃmssqlµÄ´æ´¢¹ý³Ì£¬php»ñÈ¡mssqlÊý¾Ý¿âµÄÊä³ö²ÎÊý¡£
ҪʹÓò»Í¬µÄ¶¯Ì¬Ò³Ãæ£ ......

Asp.NetÏÂͨ¹ýÇл»CSS»»Æ¤·ô

Ö±½ÓÖØдRenderʼþ
        protected override void Render(System.Web.UI.HtmlTextWriter writer)
        {
            StringWriter sw = new StringWriter() ;
  &nb ......

asp.netÖг£ÓõÄ26¸öÓÅ»¯ÐÔÄܵķ½·¨

asp.netÖг£ÓõÄ26¸öÓÅ»¯ÐÔÄܵķ½·¨
 
1. Êý¾Ý¿â·ÃÎÊÐÔÄÜÓÅ»¯¡¡
¡¡
Êý¾Ý¿âµÄÁ¬½ÓºÍ¹Ø±Õ
·ÃÎÊÊý¾Ý¿â×ÊÔ´ÐèÒª´´½¨Á¬½Ó¡¢´ò¿ªÁ¬½ÓºÍ¹Ø±ÕÁ¬½Ó¼¸¸ö²Ù×÷¡£ÕâЩ¹ý³ÌÐèÒª¶à´ÎÓëÊý¾Ý¿â½»»»ÐÅÏ¢ÒÔͨ¹ýÉí·ÝÑéÖ¤£¬±È½ÏºÄ·Ñ·þÎñÆ÷×ÊÔ´¡£ASP.NETÖÐÌṩÁËÁ¬½Ó³Ø(Connection Pool)¸ÄÉÆ´ò¿ªºÍ¹Ø±ÕÊý¾Ý¿â¶ÔÐÔÄܵÄÓ°Ï졣ϵͳ½«Óû§µÄ ......

asp.net¶¯Ì¬Ìí¼ÓͼƬˮӡ

web.config
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb=" ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ