Asp.netÒ¹»°Ö®Ò»£ºasp.net½éÉÜ
ÌâÍâ»°£ºÈ¥ÄêÖÁ½ñÄêÒÔÀ´£¬Â½Ðøд¹ýһЩԴ´µÄÎÄÕÂÁË£¬ºÜ¶àÊǶÔÔÀ´Ëù×öÏîÄ¿µÄ×ܽᡣËùÒÔ²¢²»ÊǺÜϵͳºÜÈ«Ã棬¶¼ÊÇÕë¶Ôij¸ö֪ʶµã»òÕßij¸ö¾ßÌåÓ¦ÓÃдµÄ£¬ÓÐЩÅóÓѽ¨ÒéÎÒ°Ñ×Ô¼ºµÄÌå»áд³ÉÒ»¸öϵͳµÄ£¬Õâ´ÎËãÊÇÒ»¸ö³¢ÊÔ°É£¬Ð´µÃ²»ºÃµÄµØ·½Çë´ó¼Ò¾¡Á¿Å×Î÷ºìÊÁ²»Òª¶ª×©Í·¡£
Ö®ËùÒÔ°ÑÕâ¸öϵÁнÐ×ö¡¶asp.netÒ¹»°¡·£¬ÊÇÓÐһЩÔÒòµÄ£¬Ä³²»Ñá¾Æϲ²è£¬¾ÆÔ½ºÈÔ½ºýÍ¿£¬²èºÈ¶àÁËÒ²ÈÔÈ»Äܱ£³ÖÇåÐÑ¡£°×ÌìºÜ棬ËùÒÔÿÌì»Øµ½¼ÒÖ®ºóÎÒ»áÆãÒ»ºø²è£¬±ßºÈ²è±ß¿´Ê飬żÓÐÐĵÃÌå»á¾Í»áÓÃÎÄ×ּǼÏÂÀ´£¬¹ýÒ»¶Îʱ¼äÖ®ºóÔÙ½«ÕâЩÎÄ×ÖÕûÀíһϣ¬¾õµÃÓï¾ä»¹Ëãͨ³©µÄ¾Í·¢±íÔÚ²©¿ÍÉÏÁË¡£Õâ¸ö¹ØÓÚasp.netϵÁеÄÎÄÕ½«»á¶¼ÔÚÍíÉÏÍê³É£¬ËùÒÔÎÒ½ÐËü¡¶asp.netÒ¹»°¡·¡£Õâ¸öϵÁÐÆ«ÖØÓÚʵ¼ÊÓÚasp.net¿ª·¢ÊµÕ½ÖеÄÀíÂۺ;Ñé·½ÃæµÄ½éÉÜ¡£
±¾ÏµÁÐÎÄÕÂÖлáÓõ½Macromedia Dreamweaver 8ÖÐÎÄ°æ¡¢Microsoft Visual Studio 2005ÖÐÎÄ°æºÍMicrosoft SQL Server 2005ÖÐÎİ棬ÇëÏÈ°²×°ºÃÏà¹ØÈí¼þ¡£
ºÃÁË£¬¿ªÊ¼ÎÒÃǵÄÕýÌâ¡£
ÔÚ½ñÌìÎÒÖ÷ÒªÒª½éÉܵÄÓÐÈçÏÂ֪ʶµã£º
XHTMLÓïÑÔ
¾²Ì¬ÍøÒ³
¶¯Ì¬ÍøÒ³
WEB·þÎñÆ÷
Asp.net¿ª·¢µÄÔ¤±¸ÖªÊ¶
ÁíÍâÔÚ¿´±¾½Úʱ£¬ÎÒ¿ÉÄÜ»áÓõ½Macromedia Dreamweaver 8ÖÐÎİ棬Èç¹ûÓÐÌõ¼þ£¬ÔÚ×Ô¼ºµÄµçÄÔÉÏ°²×°Ò»¸ö»á»ñµÃ¸üºÃµÄÌåÑé¡£
XHTMLÓïÑÔ
ÔÚÍøÒ³¿ª·¢µÄÔçÆÚ£¬»ù±¾É϶¼ÊÇʹÓÃHTMLÓïÑÔ¿ª·¢µÄ£¬ËüÒòΪÓï·¨ÒªÇó±È½ÏËÉÉ¢£¬ËäÈ»¶Ô¿ª·¢ÕßÀ´Ëµ±È½Ï·½±ã£¬µ«ÊÇ»úÆ÷´¦ÀíÆðÀ´±È½ÏÀ§ÄÑ£¬ËùÒÔÔÚHTMLµÄ»ù´¡ÉÏÔö¼ÓÁËXMLµÄÒªÇó£¬Õâ¾ÍÐγÉÁËXHTMLÓïÑÔ¡£XHTML˵°×Á˾ÍÊÇ·ûºÏXML±ê×¼µÄHTMLÓïÑÔ¡£µ±Ç°°æ±¾µÄMacromedia DreamweaverºÍMicrosoft Visual Studio¶¼Ö§³ÖXHTML¿ª·¢¡£
ÒÔÏÂÊÇDreamweaver´´½¨µÄ¿ÕHTMLÒ³Ã棺
ÒÔÏÂÊÇMicrosoft Visual Studio2005´´½¨µÄ¿Õ°×aspxÒ³Ã棺
×¢ÒâÓúìÏß±ê³öµÄ²¿·Ö£¬ÉÏÃæµÄ±íʾÎÒÃÇ´´½¨µÄÊÇ·ûºÏXHTML±ê×¼µÄÒ³Ãæ¡£Ö®ËùÒÔÒªÌáµ½ÕâЩ£¬ÊÇÒòΪ¾³£Óöµ½Ò»Ð©³õѧÕßд³öµÄÒ³Ãæ²»·ûºÏ±ê×¼ÔÚVisual Studio2005ÖÐÎÞ·¨ÔÚÊÓͼ½çÃæÖв鿴½çÃæµÄЧ¹û¡£
¾²Ì¬ÍøÒ³
ÔçÆÚµÄÍøÒ³¶¼ÊÇʹÓþ²Ì¬ÍøÒ³µÄ£¬ËùνµÄ¾²Ì¬ÍøÒ³¾ÍÊÇÔÚÍøÒ³Öв»°üº¬ÓÐÐèÒªÔÚ·þÎñÆ÷¶ËÖ´ÐеĴúÂë¡£±ÈÈçÒ»¸öº¬ÓÐjavascriptÌØЧµÄHTMLÍøÒ³»òÒ»¸öº¬ÓÐflashµÄHTMLÍøÒ³£¬ËüÃÇËäÈ»ÔÚÍøÒ³³ÊÏÖµÄЧ¹û»á“¶¯”£¬ÉõÖÁ»¹ÓÐÔËÐдúÂ룬µ«ÊǶ¼ÊÇÔÚ¿Í»§¶ËÖ´ÐеĴúÂ룬Òò¶øËã²»É϶¯Ì¬Ò³Ãæ¡£
¾²Ì¬ÍøÒ³µÄºÃ´¦ÊÇ·þÎñÆ÷Ö»ÐèÒª¼òµ¥µØ½«ÍøÒ³HTML´´Ë͸øä¯ÀÀÆ÷¾ÍÐÐÁË¡£¾²Ì¬µÄȱµãÊÇά»¤ÆðÀ´À§ÄÑ£¬²»ÄÜʹÓÃÊý¾Ý¿â´øÀ´µÄºÃ´¦
Ïà¹ØÎĵµ£º
-----------------------------.csÀàÎļþÖÐ
µ±Ç°ÏîÄ¿µÄÎïÀí·¾¶Â
strPath = this.Server.MapPath(Request.PhysicalApplicationPath);
ÄãҪ˵Ã÷ʲô“ÀàÎļþ”¡£ÈκÎPAGE¡¢CONTROL´úÂëÒ²ÊÇÔÚÀà ......
ÍøÂç´òÓ¡¸ÅÊö
¡¡¡¡• B/S½á¹¹µ¼ÖÂÁËWebÓ¦ÓóÌÐòÖдòÓ¡µÄÌØÊâÐÔ¡£
¡¡¡¡• ³ÌÐòÔËÐÐÔÚä¯ÀÀÆ÷ÖУ¬´òÓ¡»úÔÚ±¾µØ£¬¶øÎļþÈ·¿ÉÄÜÔÚ·þÎñÆ÷ÉÏ£¬µ¼ÖÂÁË´òÓ¡¿ØÖƲ»ÊǺÜÁé»î¡£
¡¡¡¡• ¸ñʽÈçºÎ¿ØÖƺͶ¨ÖƵȣ¬ÊÇÎÒÃÇ¿ª·¢ÖпÉÄÜ»áÃæ¶ÔµÄÎÊÌâ¡£
¡¡¡¡´òÓ¡ÎĵµµÄÉú³É
¡¡¡¡• 1¡¢¿Í»§¶Ë½Å±¾·½Ê½
¡¡¡¡Ò»°ãÇé¿öÏ£¬Ö÷ÒªÊ ......
1. ×¢²ájsº¯Êý
String scriptString = "<script language=JavaScript>function doClick(){";
scriptString += "for(var index=0;index<myArray.length;index++)";
scriptString += "alert(myArray[index]);}<";
scriptString += "/" + "script>";
ClientScript.RegisterStartupScript(typeof(WebForm2) ......
×î½ü×ö±£´æÔ¶³ÌͼƬʱºò£¬¾ÍÔÚ±£´æµÄʱºò×ÜÊdzöÕâ¸ö´íÎó£¬ÍøÉÏgoogleÁËһȦ£¬¶¼ÊÇÔÙ˵ȨÏÞÎÊÌ⣬ÎÊÌâÎÒÊÇÓÃUÅÌ£¬ÄÄÀïÓÐʲôȨÏÞÎÊÌâ¡£
×îºóÎÞÒâÖз¢ÏÖÁËÎÊÌâËùÔÚ
±£´æµÄʱºò²»ÄÜÓÃÏà¶Ô·¾¶£¬Ò»¶¨ÒªÓÃserver.mappath()´¦Àíһϱ£´æµÄ·¾¶¡£¡£¡£°¦£¡ ......
¾³£ÐèÒªÔÚÊý¾Ý¿âÓëExeclÖ®¼ä»¥µ¼Êý¾Ý¡£netʱ´ú£¬ADO.NET¿ÉÒÔʹÓÃʹÓÃMicrosoft.Jet.OleDb·ÃÎÊ·ÃÎÊExcel£¬ÍøÉÏÒѾÓкܶàÀàËƵÄ×ÊÔ´£¬×îµäÐÍÒ²ÊÇ×î¼òµ¥µÄ¿ÉÄÜÈçÏ£º£¨asp.net»·¾³£©
// Á¬½Ó×Ö·û´®
......