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

ASP.NETʵÓÃÐÔ¼¼Çɾ«ÝÍ

1.Ö÷ÒªÃüÃû¿Õ¼ä:
1.<% @ Import Namespace="System.Data" %> ´¦ÀíÊý¾ÝʱÓõ½
2.   <% @ Import Namespace="System.Data.ADO" % >   ʹÓÃADO.net ʱÓõ½
3.   <% @ Import Namespace="System.Data.SQL" %>   SQL Server Êý¾Ý¿âרÓÃ
4.   <% @ Import Namespace="System.Data.XML" %>   ²»Óÿ´´¦ÀíXMLÓõ½
5.   <% @ Import Namespace="System.IO" %>   ´¦ÀíÎļþʱÓõ½
6.   <% @ Import Namespace="System.Web.Util" %>   ·¢Óʼþʱ´ó¼Ò»áÓõ½
7.   <% @ Import Namespace="System.Text" %> Îı¾±àÂëʱÓõ½
2.<%=...%>Óë<%#... %>µÄÇø±ð:
   ´ð:<%=...%>ÊÇÔÚ³ÌÐòÖ´ÐÐʱµ÷ÓÃ,<%#... %>ÊÇÔÚDataBind()·½·¨Ö®ºó±»µ÷ÓÃ
3.¿Ø¼þ½ÓÊÕÄÄЩÀàÐÍÊý¾Ý?
   ´ð:½ÓÊÕBindµÄ¿Ø¼þ,Ò»°ãÓÐdropDownList,DataList,DataGrid,ListBoxÕâЩ¼¯ºÏÐÔÖʵĿؼþ,¶ø±»À¦°ó   µÄÖ÷ÒªÊÇArrayList(Êý×é),Hashtable(¹þÏ¡±í),DataView(Êý¾ÝÊÓͼ),DataReaderÕâËĸö,ÒÔºóÎÒÃǾͿÉÒÔ   ¶ÔºÅÈë×ù,²»»á³öÏÖDataTable±»À¦°óµÄ´íÎóÁË£º£©
4.DataBind,»ñµÃµÄÊý¾Ý,ϵͳ»á½«ÆäĬÈÏΪString,ÔõÑùת»¯ÎªÆäËüµÄÀàÐÍ?
   DataBinder.Eval(Container.DataItem,"ת»»µÄÀàÐÍ","¸ñʽ")
   ×îºóÒ»¸ö"¸ñʽ"ÊÇ¿ÉÑ¡µÄ,Ò»°ã²»ÓÃÈ¥¹ÜËû,Container.DataItemÊÇÀ¦°óµÄÊý¾ÝÏî,"ת»»ÀàÐÍ"Ö¸µÄÊÇ Integer,String,BooleanÕâÒ»ÀණÎ÷.
5.Connections(SQLConection »òÕß ADOConnection)µÄ³£ÓÃÊôÐԺͷ½·¨:
1.| ConnectionString È¡µÃ»òÉèÖÃÁ¬½áÊý¾Ý¿âµÄÓï¾ä
2.   | ConnectionTimeout È¡µÃ»òÉèÖÃÁ¬½áÊý¾Ý¿âµÄ×ʱ¼ä,Ò²ÊǾͳ¬Ê±Ê±¼ä
3.   | DataBase È¡µÃ»òÉèÖÃÔÚÊý¾Ý¿â·þÎñÆ÷ÉÏÒª´ò¿ªµÄÊý¾Ý¿âÃû
4.   | DataSource È¡µÃ»òÉèÖÃDSN,´ó¼Ò²»»áÄ°Éú°É£º£©
5.   | Password È¡µÃ»òÉèÖÃÃÜÂë
6.   | UserID È¡µÃ»òÉèÖõǽÃû
7.   | State È¡µÃÄ¿Ç°Áª½áµÄ״̬
8.   | Open() ´ò¿ªÁª½á
9.   | Close() ¹Ø±ÕÁª½á
10.   | Clone() ¿Ë¡һ¸öÁª½á¡££¨ºÇºÇ,ÃàÑò¿ÉÒÔConnectionÎÒÒ²¿ÉÒÔ)
11.ʾÀý:
12.SQLConnection myConnection = new SQLConnecti


Ïà¹ØÎĵµ£º

ѧϰASP.NETÐèÇóµÄ»ù±¾µÄc#֪ʶ£¨×ªÌû+ÒÑÐ޸ģ©

£¨±¸×¢£ºÎÄÖкìÉ«×ÖÌåÊÇÎÒÔÚÔ­ÎĵĻù´¡ÉÏÌí¼ÓµÄ½âÊÍ˵Ã÷£©
 Î¢ÈíµÄʵÀý½Ì²ÄÖн²ÁËÈýÖÖÓïÑÔ£ºc#¡¢vb   ¡¢Jscript£¬ÎªÁËÈôó¼Ò¹ýÒ»°Ñж«Î÷ñ«£¬ÎÒÃÇ»¹ÊÇѧc#°É¡£Õâ¸ö×îºÃÓÐÒ»µãc++»ù´¡¡£    
  ²»¹ýûÓÐҲûÓйØϵ£¬´ó²»Á˶à·ÑµãÁ¦ÁË¡£    
  ÈκÎÒ»ÃÅÓ ......

һЩ¾­µäµÄASP.NET½Ì³Ì


һЩ¾­µäµÄASP.NET½Ì³Ì

 
C#Ò©µê¹ÜÀíϵͳ
http://win.17aspx.com/show/down/cs/2010/0203/4.html
C#ʵÏÖÌìÆøÔ¤±¨²éѯ
http://win.17aspx.com/show/csjc/2010/0203/2.html
asp.netÀûÓÃgoogleʵÏÖÔÚÏß·­Ò빦ÄÜ(ͨÓÃÀà)
http://www.17aspx.com/html/aspnet/all/2010/0129/741.html
.NetË®¾§±¨±íµÄʹÓÃ×Ü ......

ASP.NET AJAX ½Ìѧ±Ê¼Ç(Èý) 1

Ajax¿ª·¢ÈËÔ±ÐèÒªµÄJavaScript֪ʶ
  JavaScriptµ®ÉúÓÚ1995 Ä꣬×î×³ÉÔÚNetsCape Navigatorä¯ÀÀÆ÷ÖС£Microsoft ÔÚIE3Öм¯³É¡£1998Äê±»±ê×¼»¯ÎªECMAScript.
  Microsoft Ajax Library¸ÄÉÆÁËJavaScriptµÄÃæÏò¶ÔÏóÄ£ÐÍ¡£
3.1ʹÓöÔÏó
   JavaScriptÖеĶÔÏó²¢²»ÊÇÀàÐ͵ÄʵÀý£¬ÒòΪJavaScript²»Ö§³ ......

ASP.NET AJAX ½Ìѧ±Ê¼Ç(Èý) 2

3.4Àí½â¼Ì³Ð
Ò»£®»ùÓÚÔ­Ð͵ļ̳Уº  
²½Ö裺
(1)ÔÚ×ÓÀ๹Ô캯ÊýÖе÷ÓûùÀ๹Ô캯Êý£¬´Ó¶ø¼Ì³Ð»ùÀàµÄÊôÐÔ¡£
(2)½«»ùÀàµÄÒ»¸öÐÂʵÀý¸³¸ø×ÓÀ࣬´Ó¶ø¼Ì³Ð»ùÀàµÄ·½·¨¡£
 Samples.Cat=function() 
  {
     Samples.Pet.call(this);
   }
   Sample ......

×îÈ«µÄASP.NET¿ªÔ´CMS»ã×Ü

¹úÄÚCMS£º
1.SiteServer CMS
SiteServer CMS ÍøÕ¾ÄÚÈݹÜÀíϵͳ£¨Öø×÷ȨµÇ¼ÇºÅ2008SR15710£©ÊǶ¨Î»ÓÚÖи߶ËÊг¡µÄCMSÄÚÈݹÜÀíϵͳ£¬Äܹ»ÒÔ×îµÍµÄ³É
±¾¡¢×îÉÙµÄÈËÁ¦Í¶ÈëÔÚ×î¶ÌµÄʱ¼äÄÚ¼ÜÉèÒ»¸ö¹¦ÄÜÆëÈ«¡¢ÐÔÄÜÓÅÒì¡¢¹æÄ£ÅÓ´óµÄÍøվƽ̨¡£
¡¡¡¡ SiteServer CMS ÊÇ»ùÓÚ΢Èí.NET ƽ̨¿ª·¢µÄÍøÕ¾ÄÚÈݹÜÀíϵͳ£¬Ëü¼¯³ÉÁËÄÚÈÝ·¢² ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ