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

ASP.NETÒ³Ãæ´«ÖµµÄ¸÷ÖÖ·½·¨ºÍ·ÖÎö

WebÒ³ÃæÊÇÎÞ״̬µÄ£¬ ·þÎñÆ÷¶Ôÿһ´ÎÇëÇó¶¼ÈÏΪÀ´×Ô²»Í¬Óû§£¬Òò´Ë£¬±äÁ¿µÄ״̬ÔÚÁ¬Ðø¶ÔͬһҳÃæµÄ¶à´ÎÇëÇóÖ®¼ä»òÔÚÒ³ÃæÌøתʱ²»»á±»±£Áô¡£ÔÚÓÃASP.NET Éè¼Æ¿ª·¢Ò»¸öWebϵͳʱ£¬ Óöµ½Ò»¸öÖØÒªµÄÎÊÌâÊÇÈçºÎ±£Ö¤Êý¾ÝÔÚÒ³Ãæ¼ä½øÐÐÕýÈ·¡¢°²È«ºÍ¸ßЧµØ´«ËÍ£¬Asp.net ÌṩÁË״̬¹ÜÀíµÈ¶àÖÖ¼¼ÊõÀ´½â¾ö±£´æºÍ´«µÝÊý¾ÝÎÊÌ⣬ÒÔÏÂÀ´Ì½ÌÖ.NET ÏµĽâ¾ö´ËÎÊÌâµÄ¸÷ÖÖ·½·¨ºÍ¸÷×ÔµÄÊÊÓó¡ºÏ¡£ 
1.1 Ê¹ÓÃQuerystring ·½·¨ 
QueryString Ò²½Ð²éѯ×Ö·û´®£¬ ÕâÖÖ·½·¨½«Òª´«µÝµÄÊý¾Ý¸½¼ÓÔÚÍøÒ³µØÖ·(URL)ºóÃæ½øÐд«µÝ¡£ÈçÒ³ÃæA.aspx Ìøתµ½Ò³ÃæB.aspx£¬¿ÉÒÔÓÃRequest.Redirect("B.aspx?²ÎÊýÃû³Æ=²ÎÊýÖµ")·½·¨£¬Ò²¿ÉÒÔÓó¬Á´½Ó£º£¬Ò³ÃæÌøתºó£¬ÔÚÄ¿±êÒ³ÃæÖпÉÓÃRuquest["²ÎÊýÃû³Æ"]À´½ÓÊÕ²ÎÊý¡£Ê¹ÓÃQuerySting ·½·¨µÄÓŵãÊÇʵÏÖ¼òµ¥£¬ ²»Ê¹Ó÷þÎñÆ÷×ÊÔ´£»È±µãÊÇ´«µÝµÄÖµ»áÏÔʾÔÚä¯ÀÀÆ÷µÄµØÖ·À¸ÉÏ£¬Óб»´Û¸ÄµÄ·çÏÕ£¬²»ÄÜ´«µÝ¶ÔÏó£¬Ö»ÓÐÔÚͨ¹ýURL ÇëÇóҳʱ²éѯ×Ö·û´®²ÅÊÇ¿ÉÐеġ£
1.2 ÀûÓÃÒþ²ØÓò 
Òþ²ØÓò²»»áÏÔʾÔÚÓû§µÄä¯ÀÀÆ÷ÖУ¬ Ò»°ãÊÇÔÚÒ³ÃæÖмÓÈëÒ»¸öÒþ²Ø¿Ø¼þ£¬ Óë·þÎñÆ÷½øÐн»»¥Ê±°ÑÖµ¸³¸øÒþ²Ø¿Ø¼þ²¢Ìá½»¸øÏÂÒ»Ò³Ãæ¡£Òþ²ØÓò¿ÉÒÔÊÇÈκδ洢ÔÚÍøÒ³ÖеÄÓëÍøÒ³ÓйصÄÐÅÏ¢µÄ´æ´¢¿â¡£Ê¹ÓÃÒþ²ØÓò´æÈëÊýֵʱÓãºhidden ¿Ø¼þ.value=ÊýÖµ£¬È¡³ö½ÓÊÕÊýֵʱÓ㺱äÁ¿=hidden ¿Ø¼þ.value¡£Ê¹ÓÃÒþ²ØÓòµÄÓŵãÊÇʵÏÖ¼òµ¥£¬ Òþ²ØÓòÊDZê×¼µÄHTML ¿Ø¼þ£¬²»ÐèÒª¸´Ôӵıà³ÌÂß¼­¡£Òþ²ØÓòÔÚÒ³ÉÏ´æ´¢ºÍ¶ÁÈ¡£¬²»ÐèÒªÈκηþÎñÆ÷×ÊÔ´£¬¼¸ºõËùÓÐä¯ÀÀÆ÷ºÍ¿Í»§¶ËÉ豸¶¼Ö§³Ö¾ßÓÐÒþ²ØÓòµÄ´°Ì塣ȱµãÊÇ´æ´¢½á¹¹ÉÙ£¬½ö½öÖ§³Ö¼òµ¥µÄÊý¾Ý½á¹¹£¬´æ´¢Á¿ÉÙ£¬ÒòΪËü±»´æ´¢ÔÚÒ³Ãæ±¾Éí£¬ËùÒÔÎÞ·¨´æ´¢½Ï´óµÄÖµ£¬¶øÇÒ´óµÄÊý¾ÝÁ¿»áÊܵ½·À»ðǽºÍ´úÀíµÄ×èÖ¹¡£
1.3 ViewState 
ViewState ÊÇÓÉASP.NET Ò³Ãæ¿ò¼Ü¹ÜÀíµÄÒ»¸öÒþ²ØµÄ´°Ìå×ֶΡ£µ±ASP.NET Ö´ÐÐij¸öÒ³Ãæʱ£¬¸ÃÒ³ÃæÉϵÄViewState ÖµºÍËùÓпؼþ½«±»ÊÕ¼¯²¢¸ñʽ»¯³ÉÒ»¸ö±àÂë×Ö·û´®£¬ È»ºó±»·ÖÅä¸øÒþ²Ø´°Ìå×ֶεÄÖµÊôÐÔ¡£Ê¹ÓÃViewState ´«µÝÊý¾Ýʱ¿ÉÓãºViewState [" ±äÁ¿Ãû"]=ÊýÖµ£¬ÔÚÈ¡³öÊý¾ÝʱÓ㺱äÁ¿=ViewState["±äÁ¿Ãû"]¡£Ê¹ÓÃViewState µÄÓŵãÊÇ£ºÔÚ¶ÔͬһҳµÄ¶à¸öÇëÇó¼ä×Ô¶¯±£ÁôÖµ£¬²»Ó÷þÎñÆ÷¶Ë×ÊÔ´£¬ÊµÏÖ¼òµ¥£¬ÊÓͼ״̬ÖеÄÖµ¾­¹ý¹þÏ£¼ÆËãºÍѹËõ£¬²¢ÇÒÕë¶ÔUnicode&


Ïà¹ØÎĵµ£º

ASP.NET AJAXÈëÃÅϵÁÐ

ASP.NET AJAXÈëÃÅϵÁн«»áд¹ØÓÚASP.NET AJAXһЩ¿Ø¼þµÄʹÓ÷½·¨ÒÔ¼°»ù´¡ÖªÊ¶£¬ÆäÖв¿·ÖÎÄÕÂΪԭ´´£¬Ò²ÓÐһЩÎÄÕÂÊÇÖ±½Ó·­Òë×Ô¹Ù·½Îĵµ£¬±¾²¿·ÖÄÚÈݻ᲻¶Ï¸üС£
 
Ŀ¼
ASP.NET AJAXÈëÃÅϵÁУ¨1£©£º¸ÅÊö
    µ¼¶Á£º×÷Ϊ±¾ÏµÁÐÎÄÕµĿªÆª£¬¼òµ¥½éÉÜÒ»ÏÂASP.NET AJAXµÄ¸Å¿ö¼°¸÷¸ö×é³É²¿·Ö¡£
  ......

ASP.NET·â×°SWFUploadÉÏ´«¿Ø¼þÏÂÔØ

ʹÓÃflash¿ª·¢µÄSWFUploadÉÏ´«×é¼þÓкܶàºÃ´¦£¬Ö§³Ö½ø¶ÈÌõÊÇÆäÖÐÒ»Öֺô¦£¬ÏÂÃæÊÇasp.net·â×°SWFUploadÏÂÔصØÖ·£º
Ч¹ûͼ£º
Èç¹ûÖ±½Ó¿½±´SWFUploadÎļþ¼Ðµ½ÄãµÄÏîÄ¿
¼ÇµÃ±ØÐëÒýÓÃSWFUploadAPI.dll
 µã»÷´Ë´¦ÏÂÔØ:SWFUpload.rar
ÎÄÕÂÀ´×ÔѧITÍø£ºhttp://www.xueit.com/html/2010-05/21-12561321642010518215213640 ......

Asp.netË®¾§±¨±í°²×°²¿Êð(vs2008)

ÔÚ²¿ÊðË®¾§±¨±íʱÖ÷ÒªÓöµ½Ö§³Ö×é¼þµÄÎÊÌâ¡£
Ê×ÏÈ£¬ÐèÒªÔÚ·þÎñÆ÷ÉÏÐèÒª°²×°“CRRedist2008_x86.msi”ºÍºº»¯°ü“CRRedist2008_x86_chs.msi”¡£
vs.net 2008£¬ÔÚÕâ¸öĿ¼
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5
vs.net 2005£¬ÔÚÕâ¸öĿ¼
C:\Progr ......

¡¶ASP.NET MVC ÈëÃÅϵÁн̡̳·

ʲôÊÇMVCģʽ
MVC£¨Model-View-Controller£¬Ä£ÐÍ—ÊÓͼ—¿ØÖÆÆ÷ģʽ£©ÓÃÓÚ±íʾһÖÖÈí¼þ¼Ü¹¹Ä£Ê½¡£Ëü°ÑÈí¼þϵͳ·ÖΪÈý¸ö»ù±¾²¿·Ö£ºÄ£ÐÍ£¨Model£©£¬ÊÓͼ£¨View£©ºÍ¿ØÖÆÆ÷£¨Controller£©¡£
ÄÇôMVCģʽºÍÎÒÃÇÊìϤµÄWebFormģʽÓÐʲô²»Í¬ÄØ£¿ËûµÄ¸÷¸ö²¿·ÖÓÖÊÇÔõÑù·Ö¹¤µÄÄØ£¿
ÎÒÃÇÏÈÀ´¿´Ò»ÏÂÆÕͨµÄWebFormģʽÏ£ ......

asp.net Gridview TextBox »Ø³µµÄÎÊÌâÔõô½â¾ö?

Ê×ÏȽ¨Á¢¿Ø¼þGridView1£¬×¢ÒâàÞ
Ò³ÃæEnableEventValidation="false"±ØÐëµÄ¡£
<form id="form1" runat="server">
<div>
<asp:GridView ID="GridView1" AutoGenerateColumns="false" runat="server">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:Panel ID="P ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ