ASP.NET ÑÝÁ·£ºÑéÖ¤ Web ´°ÌåÒ³ÖеÄÓû§ÊäÈë
±¾ÑÝÁ·²ûÊÍÈçºÎʹÓà ASP.NET ÑéÖ¤³ÌÐò¿Ø¼þ¼ì²éÍøÒ³ÖеÄÓû§ÊäÈë¡£ÄúÎÞÐè´úÂë¾Í¿ÉÒÔʹÓÃijЩ×Ô¶¯Ö´ÐÐËùÓмì²éµÄ¿Ø¼þ¡£´ËÍ⣬Äú»¹½«Í¨¹ý±àд´úÂë´´½¨Ò»¸ö×Ô¶¨ÒåÑéÖ¤³ÌÐò£¬¸Ã¹ý³Ì½«ÑÝʾÈçºÎ½«Äú×Ô¼ºµÄÂß¼Ìí¼Óµ½Ò³µÄÑéÖ¤¿ò¼ÜÖС£×îºó£¬Äú½«Ñ§Ï°ÈçºÎ¸ù¾ÝÓû§ÔÚÒ³ÉÏËù×öµÄÑ¡ÔñÓÐÌõ¼þµØÑéÖ¤Óû§ÊäÈë¡£
ÔÚ±¾ÑÝÁ·ÖУ¬Äú½«ÎªÍøÕ¾´´½¨Ò»¸öÔÊÐí·ÃÎÊÕßÉêÇëÔ¤¶©µÄÒ³Ãæ¡£ÓÉÓÚ±¾ÑÝÁ·µÄÄ¿µÄÊÇΪ²ûÊÍÑéÖ¤£¬Òò´ËÔ¤¶©Ê²Ã´¶Ô±¾ÑÝÁ·²¢²»ÖØÒª£¨ÀýÈ磬¿ÉÔ¤¶©²ÍÌü¡¢ÉçÇøÖÐÐÄ»áÒéÊÒ»ò±ðµÄµØµã£©£¬²¢ÇÒ¸ÃÒ³²¢²»ÕæÕý´¦ÀíÔ¤¶©¡£
ÄúËù´´½¨µÄ¸ÃÒ³½«ÌáʾÓû§ÊäÈëµç×ÓÓʼþµØÖ·¡¢Ô¤¶©ÈËÊýºÍÔ¤¶©ÈÕÆÚ¡£¸ÃÒ³»¹ÔÊÐíÓû§ÉêÇëÆäÔ¤¶©µÄµç»°È·ÈÏ¡££¨Èç¹û¸ÃҳʵÏָù¦ÄÜ£¬Ôò¸Ã¹¦ÄÜĬÈÏΪµç×ÓÓʼþÈ·ÈÏ¡££©
°²È«ËµÃ÷£º ĬÈÏÇé¿öÏ£¬Web ´°ÌåÒ³½«×Ô¶¯ÑéÖ¤ÊÇ·ñÓжñÒâÓû§ÊÔͼ½«½Å±¾·¢Ë͵½ÄúµÄÓ¦ÓóÌÐòÖС£
ͨ¹ý´ËÑÝÁ·£¬Äú½«Ñ§»áÈçºÎÖ´ÐÐÒÔÏÂÈÎÎñ£º
·Ê¹ÓÃÑéÖ¤³ÌÐò¿Ø¼þ¼ì²é ASP.NET ÍøÒ³ÖеÄÓû§ÊäÈë¡£
·ÉèÖÃÏÔʾÑéÖ¤´íÎóÏûÏ¢µÄ¸ñʽ¡£
·Í¨¹ý±àд´úÂë´´½¨×Ô¶¨ÒåÑéÖ¤¡£
Ò»¡¢´´½¨ÍøÕ¾ºÍÍøÒ³
ÔÚ±¾ÑÝÁ·µÄµÚÒ»²¿·Ö£¬½«´´½¨¿ÉÒÔʹÓÃÑùʽµÄÍøÕ¾ºÍÍøÒ³¡£
Èç¹ûÄúÒÑÔÚ Visual Studio Öд´½¨ÁËÒ»¸öÍøÕ¾£¨ÀýÈ磬ͨ¹ýÖ÷ÌâÑÝÁ·£ºÔÚ Visual Web Developer Öд´½¨»ù±¾ÍøÒ³£©£¬Ôò¿ÉÒÔʹÓøÃÍøÕ¾²¢Ìøµ½±¾ÑÝÁ·ºóÃæµÄ“Ìí¼Ó¿Ø¼þ”²¿·Ö¡£·ñÔò£¬°´ÕÕÏÂÃæµÄ²½Öè´´½¨Ò»¸öеÄÍøÕ¾ºÍÍøÒ³¡£
1.1¡¢´´½¨ÎļþϵͳÍøÕ¾
1¡¢´ò¿ª Visual Studio¡£
2¡¢ÔÚ“Îļþ”²Ëµ¥Éϵ¥»÷“н¨ÍøÕ¾”¡£ “н¨ÍøÕ¾”¶Ô»°¿òËæ¼´³öÏÖ¡£
3¡¢ÔÚ“ÓïÑÔ”ÁбíÖУ¬µ¥»÷ÄúÏëʹÓõıà³ÌÓïÑÔ¡£ ÄúÑ¡ÔñµÄ±à³ÌÓïÑÔ½«ÊÇÍøÕ¾µÄĬÈÏÓïÑÔ£¬µ«Äú¿ÉÒÔΪÿ¸öÒ³Ãæ·Ö±ðÉèÖñà³ÌÓïÑÔ¡£
4¡¢ÔÚ“Visual Studio ÒÑ°²×°µÄÄ£°å”֮ϵ¥»÷“ASP.NET ÍøÕ¾”¡£
5¡¢ÔړλÖÔ¿òÖÐÊäÈëÒª±£´æÍøÕ¾Ò³ÃæµÄÎļþ¼ÐµÄÃû³Æ¡£ ÀýÈ磬¼üÈëÎļþ¼ÐÃû“C:\WebSites”¡£
6¡¢µ¥»÷“È·¶¨”¡£ Visual Studio ´´½¨¸ÃÎļþ¼ÐºÍÒ»¸öÃûΪ Default.aspx µÄÐÂÒ³¡£
1.2¡¢Ìí¼Ó¿Ø¼þ
Äú½«Ö»Ê¹Óü¸¸ö¿Ø¼þÌáʾÓû§ÊäÈëÔ¤¶©ËùÐèµÄÐÅÏ¢¡£
1.3¡¢Ìí¼Ó¿Ø¼þºÍÎı¾
1¡¢Çл»µ½“Éè¼Æ”ÊÓͼ¡£
2¡¢¼üÈëÒ»¸öÒ³±êÌ⣬Èç“Submit a Reservation”£¨Ìá½»Ô¤¶©£©¡£
3¡¢´Ó
Ïà¹ØÎĵµ£º
//2007Äê4ÔÂ24ÈÕ
this.TextBox6.Text = System.DateTime.Now.ToString("D");
//2007-4-24
this.TextBox7.Text = System.DateTime.Now.ToString("d");
//2007Äê4ÔÂ24ÈÕ 16:30:15
this. ......
¼ò½é
¡¡¡¡Cookie Ϊ Web Ó¦ÓóÌÐò±£´æÓû§Ïà¹ØÐÅÏ¢ÌṩÁËÒ»ÖÖÓÐÓõķ½·¨¡£ÀýÈ磬µ±Óû§·ÃÎÊÄúµÄÕ¾µãʱ£¬Äú¿ÉÒÔÀûÓà Cookie ±£´æÓû§Ê×Ñ¡Ïî»òÆäËûÐÅÏ¢£¬ÕâÑù£¬µ±Óû§Ï´ÎÔÙ·ÃÎÊÄúµÄÕ¾µãʱ£¬Ó¦ÓóÌÐò¾Í¿ÉÒÔ¼ìË÷ÒÔÇ°±£´æµÄÐÅÏ¢¡£
¡¡¡¡±¾ÎĸÅÒª½éÉÜ Cookie ÔÚ ASP.NET Ó¦ÓóÌÐòÖеÄÓ¦Óã¬ÎªÄúչʾÔÚ ASP.NET ÖÐÓ¦Óà Cookie ......
±¨´íÐÅÏ¢ÈçÏ£º
¼ìË÷ COM À๤³§ÖÐ CLSID Ϊ {00024500-0000-0000-C000-000000000046} µÄ×é¼þʱʧ°Ü£¬ÔÒòÊdzöÏÖÒÔÏ´íÎó: 80070005¡£
ÍøÉÏÕÒÌù½â¾öÈçÏ£¬×ªÌù×÷¼Ç~~
ת×Ô£ºhttp://blog.csdn.net/happy_ddm/archive/2007/07/09/1683207.aspx
½â¾ö·½·¨£º
ÔÚDCOM×é¼þ·þÎñÖиøMICROSOFT.EXCEL×é¼þ¸³ÓèASP.NETµÄ²Ù×÷ȨÏÞ£¬ ......
ºǫ́¸ø¿Ø¼þÌí¼Ójs·½·¨
this.btnOK.Attributes["onclick"] = "javascript:return confirm(\"È·¶¨±£´æ£¿\");";
»òÕß
<mce:script type="text/javascript"><!--
function shijian()
{
return confirm(\"È·¶¨±£´æ£¿\");
}
// --></mce:script>
this.btnOK.Attributes["onclick"] = "return sh ......
ÔÚÌض¨Ìõ¼þÏ£¬Äú¿ÉÄÜÐèÒª±Ü¿ªÑéÖ¤¡£ÀýÈ磬Äú¿ÉÄܾßÓÐÒ»¸öÒ³Ã棬¼´Ê¹Óû§Ã»ÓÐÕýÈ·ÌîдËùÓÐÑéÖ¤×ֶΣ¬Ò²Ó¦¸Ã¿ÉÒÔ·¢ËÍÒ³¡£Äú¿ÉÒÔÉèÖà ASP.NET ·þÎñÆ÷¿Ø¼þÀ´±Ü¿ª¿Í»§¶ËºÍ·þÎñÆ÷µÄÑéÖ¤£¬¶ø²»Ö»ÊÇ¿Í»§¶ËÑéÖ¤¡£
°²È«ËµÃ÷£º ĬÈÏÇé¿öÏ£¬ASP.NET ÍøÒ³Ö´ÐÐÇëÇóÑéÖ¤ÒÔÈ·±£Óû§ÊäÈëÄÚÈݲ»°üº¬½Å±¾» ......