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

ASP.NET ÖÐÒ³ÃæÖ®¼äµÄ²ÎÊý´«µÝ

×ܽá³öÒÔϼ¸¸ö´«µÝ²ÎÊýµÄ·½·¨£º
µÚÒ»ÖÖ·½·¨£º
ͨ¹ýURLÁ´½ÓµØÖ·´«µÝ
send.aspx:
protected void Button1_Click(object sender, EventArgs e)
    {
        Request.Redirect("Default2.aspx?username=honge");
    }
receive.aspx:
string username = Request.QueryString["username"];ÕâÑù¿ÉÒԵõ½²ÎÊýÖµ¡£
µÚ¶þÖÖ·½·¨£º
send.aspx
<form id="form1" runat="server" action="receive.aspx" method=post>
    <div>
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
<asp:TextBox ID="username" runat="server"></asp:TextBox>
</div>
    </form>
receive.aspx
string username = Ruquest.Form["receive"];
µÚÈýÖÖ·½·¨£º
send.aspx:
protected void Button1_Click(object sender, EventArgs e)
    {
        Session["username"] = "honge";
 Request.Redirect("Default2.aspx");
    }
receive.aspx:
string username = Session["username"];ÕâÑù¿ÉÒԵõ½²ÎÊýÖµ¡£
µÚËÄÖÖ·½·¨£º
send.aspx:
protected void Button1_Click(object sender, EventArgs e)
    {
        Application["username"] = "honge";
        Request.Redirect("Default2.aspx");
    }
receive.aspx:
string username = Application["username"];ÕâÑù¿ÉÒԵõ½²ÎÊýÖµ¡£
µÚÎåÖÖ·½·¨£º
send.aspx:
public string Name
    {
        get {
            return "honge";
        }
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        Server.Transfer("Default2.aspx");
   


Ïà¹ØÎĵµ£º

Asp.netÏîÄ¿¿ª·¢Ö¸ÄÏ05

< align=middle src=http://player.youku.com/player.php/sid/XMTQ3NTE2NzIw/v.swf width=480 height=400 type=application/x-shockwave-flash allowScriptAccess="sameDomain" quality="high" mce_src="http://player.youku.com/player.php/sid/XMTQ3NTE2NzIw/v.swf"> ......

VS2005 ²»ÄÜн¨ ASP.net WEBÓ¦ÓóÌÐò

vs2005 ûÓÐASP.NET WEBÓ¦ÓóÌÐò£¨Application£©µÄ½â¾ö·½°¸
vs2005 sp1ÏÂÔØµØÖ·
2009-02-21 09:08
VS80sp1-KB926604-X86-CHS.exe
WebApplicationProjectSetup.msi
 
Ïà¹ØÎÄÕÂ:
×î½ü°ïͬʰ²×°ÁËVs2005ºÍsp1,·¢ÏÖ¸ù±¾´ò²»¿ªÔ­À´µÄ³ÌÐò£¬Ð½¨ÏîÄ¿ÖÐûÓÐASP.NET WEBÓ¦ÓóÌÐò,ͬʵÄϵͳÊÇwindows 2003,¶øÔÚwi ......

ASP.NETµÄWeb.configÎļþÖпÉÅäÖÃÄÄЩÉí·ÝÑéÖ¤·½Ê½

http://rzchina.net/node/3210
Web.configÎļþÖпÉÅäÖõÄÉí·ÝÑéÖ¤·½Ê½ÓÐWindows¡¢Forms¡¢PassPort¡¢None¡£
Web.configÎļþÖÐ<authentication>½Úµã£¬Éí·ÝÑéÖ¤·½Ê½È¡¾öÓڸýڵã“mode”ÊôÐÔµÄÉèÖá£
1£®None
None±íʾ²»Ö´ÐÐÉí·ÝÑéÖ¤¡£
2£®Windows
IIS¸ù¾ÝÓ¦ÓóÌÐòµÄÉèÖÃÖ´ÐÐÉí·ÝÑéÖ¤£¬ÆäÖаüº¬ÄäÃûÉí·Ý ......

ASP.NetµÄUpdatePanel¿Ø¼þµÄ¼òµ¥Ê¹ÓÃ

¼¸ÖÖUpdatePanel¿Ø¼þµÄ×î¼òµ¥µÄÓ÷¨.
1.ÔÚUpdatePanel¿Ø¼þÀíµÄ×ӿؼþÖ±½Ó¾Ö²¿Ë¢ÐÂÄÚÈÝ.
Ó÷¨ÈçÏÂ
 Ê×ÏȱØÐëÏÈÍÐÒ»¸öScriptManager¿Ø¼þ·ÅÔÚÒ³ÃæÄÚ,
 ÔÚÍÐÒ»¸öupdatePanel¿Ø¼þ
ÔÚContentTemplateÀïÃæ·ÅҪˢеÄÄÚÈݺͰ´Å¥,
½«updatePanelµÄUpdateMode="Conditional",
ÕâÑù°´Å¥Ê¼þ½«ÔÚ¾Ö²¿Ë¢Ð¿ؼþÀïÃæµÄÄÚÈ ......

asp.net ¶ÁÈ¡ txt, csv Îļþ

csv Îļþ¸útxt Îļþ±È½ÏÏàÏñ¿ÉÒÔÓÃÁ÷Ö±½Ó¶ÁÈ¡.
excel ÕâÖÖÓнṹµÄÎļþ,Á÷²»ÄÜÖ±½Ó¶ÁÈ¡.
StreamReader m_sr=new StreamReader(this.FileLoad.PostedFile.InputStream, System.Text.Encoding.Default);
   string s="";
   string strTemp="";
   while (m_sr.Peek()> ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ