Õª Òª
ÔÚÍøÂç¼¼ÊõѸËÙ·¢Õ¹ÒÔ¼°ÐÅÏ¢½»Á÷Ƶ·±µÄ½ñÌ죬ÍøÂçÓ¦ÓÃÒѾÉø͸µ½ÈËÀàÉç»áµÄ¸÷¸ö½ÇÂä¡£ÐÅÏ¢µÄÀ´Ô´²»ÔÙ¾ÖÏÞÓÚ±¨Ö½¡¢µçÊӺ͹㲥µÈ´«Í³Ã½Ì壬¿ÉÒÔͨ¹ýÐÂÎÅÍøÕ¾¿ìËٵصõ½×îÐÂÐÅÏ¢£¬ÐÂÎÅÍøÕ¾¿ÉÒÔ·¢²¼°üº¬¶à·½ÃæµÄÐÅÏ¢£¬³ÉΪÈËÃǹ¤×÷¡¢Éú»îºÍѧϰ³ÌÖеÃÁ¦µÄÖúÊÖ¡£±¾ÐÂÎÅÍøÕ¾ÊÇÀûÓÃASP.NETÐÂÒ»´úµÄWebÓ¦ÓóÌÐò¿ª·¢Æ½Ì¨£¬ËüÊÇÒ»¸öÒѱàÒëµÄ¡¢»ùÓÚ.NETµÄ¿ª·¢»·¾³£¬ËüÌṩÁËÉú³ÉÆóÒµ¼¶Ó¦ÓóÌÐòËù±ØÐèµÄÈ«²¿·þÎñ£¬»ùÓÚ .NET Framework Éú³É£¬Õû¸ö¿ò¼Ü¶¼¿ÉÓÃÓÚÈκΠASP.NET Ó¦ÓóÌÐò¡£¿ÉÒÔʹÓÃÈκÎÓ빫¹²ÓïÑÔÔËÐпâ(CLR)¼æÈݵÄÓïÑÔ(°üÀ¨ Visual Basic.NET¡¢C# ºÍ JScript .NET)À´´´½¨Ó¦ÓóÌÐò¡£¸ÃϵͳʹÓÃASP.NET(C#ÓïÑÔ)ºÍADO.NET¼¼Êõ¿ª·¢, ʵÏÖÁËÍøÕ¾ÐÂÎŵĶ¯Ì¬¹ÜÀí£¬Ê¹µÃ¶ÔÐÅÏ¢µÄ¹ÜÀí¸ü¼Ó¼°Ê±¡¢¸ßЧ£¬Ìá¸ßÁ˹¤×÷ЧÂÊ£¬¾ßÓÐÒ»°ãÐÂÎÅϵͳµÄ¹¦ÄÜ£¬Ö÷Òª°üÀ¨Ç°Ì¨ÐÂÎŲ鿴ÇøºÍºǫ́¹ÜÀíÇø£¬¿ÉΪѧУ¸÷²¿ÃÅ·¢²¼ÐÂÎÅ£¬ÎªÐ£Ô°ÍøÕ¾ÌṩÐÂÎÅ·¢²¼Óë¹ÜÀíµÄ·þÎñ¡£
¹Ø¼ü´Ê£º½»Á÷Ƶ·± ASP.NET ÐÂÎŹÜÀí C#
Abstract
In the rapid development of network technology and the frequent exchange of information today, network applications have penetrated into every corner of human society. The source of information is no longer confined to newspapers, television and radio and other traditional media, through news websites can quickly get the latest information, news websites can release contains various information, become people work, life and learning process capable assistant. The news website is the use of a new generation of ASP.NET Web application development platform, it is a compiled, based on the NET development environment, it provides generation of enterprise level application all essential services, based on the . NET Framework generation, the framework can be used in any ASP.NET application. You can use any of the common language runtime ( CLR ) compatible languages ( including Visual Basic.NET, C # and JScript . NET ) to create the application. The system uses ASP.NET ( C # language ) and ADO.NET technology development, achieve the dynamic management of the news web site, making the management of information more timely, efficient, improve the work efficiency, has general news function of system, mainly including front and background information see the district management area, schools and departments for news, for the campus news website management services.
Key words: ASP.NET C # frequent exchange of information management
Ŀ ¼
Õª Òª III
Abstract IV
Ð÷ ÂÛ VII
µÚÒ»Õ Ñо¿±³¾° 1
1£®1¹úÄÚÍâÑо¿ÏÖ×´ 1
1£®2ÐÂÎÅ·¢²¼ÏµÍ³¸ÅÂÛ 1
1.2.1ÐÂÎÅ·¢²¼ÏµÍ³ 1
1.2.2ÐÂÎÅ·¢²¼ÏµÍ³µÄ·ÖÀà 2
1.2.3ÐÂÎÅ·¢²¼ÏµÍ³µÄÌصã 3
1£®3Ñо¿Ä¿µÄºÍÒâÒå 3
1£®4¿ª·¢ËùÓù¤¾ß¼°¼¼Êõ 4
µÚ¶þÕ ϵͳ·ÖÎöÓë×ÜÌåÉè¼Æ 6
2£®1 ϵͳÐèÇó·ÖÎö 6
2£®2 ϵͳ¹¦ÄÜ·ÖÎö 7
2.3ϵͳ¼Ü¹¹·ÖÎö 8
2.4ϵͳ¿ÉÐÐÐÔ·ÖÎö 9
2.5ϵͳ×ÜÌåÉè¼Æ 10
2.5.1ϵͳÉè¼Æ˼Ïë 10
2.5.2ϵͳ¹¦ÄÜÄ£¿éÉè¼Æ 10
2.6ϵͳÁ÷³Ìͼ 13
µÚÈýÕ»ù±¾µÄÀíÂÛ 14
3.1Êý¾Ý¿â½éÉÜ 14
3.2Êý¾Ý±íÉè¼Æ 15
µÚËÄÕ ¹¦ÄÜÄ£¿éÏêϸÉè¼Æ 17
4. 1ǰ̨Éè¼Æ 17
4. 2ÐÂÎŲéѯģ¿éÉè¼Æ 19
4. 3ºǫ́µÇ¼ģ¿éÉè¼Æ 21
4. 3±à¼ÐÂÎÅÄ£¿éÉè¼Æ 23
µÚÎåÕ ϵͳÅäÖúͲâÊÔ 25
5.1 ϵͳÅäÖà 25
5.2 ²âÊÔµÄÈÎÎñ¼°Ä¿±ê 25
5.2.1²âÊÔµÄÈÎÎñ 25
5.2.2²âÊÔµÄÄ¿±ê 26
5.3²âÊÔ·½°¸ 26
5.3.1Ä£¿é²âÊÔ 26
5.3.2¼¯³É²âÊÔ 26
5.3.3ÑéÊÕ²âÊÔ 27
5.3.4ƽÐÐÔËÐÐ 27
µÚÁùÕ ϵͳʹÓÃά»¤ 28
6.1ϵͳʹÓÃ˵Ã÷ 28
6.2ϵͳµÄά»¤ 28
½á¡¡ÂÛ 30
Ö л 31
²Î¿¼ÎÄÏ× 32
Ð÷ ÂÛ
ASP.NETÊÇ΢Èí¹«Ë¾×îÐÂÍƳöµÄÒ»ÖÖͳһWeb¿ª·¢Æ½Ì¨£¬Óë×îеÄÊý¾Ý·ÃÎʼ¼ÊõADO.NETÒ»Æð¿É¹¹½¨³öÇ¿´ó¡¢°²È«ºÍ¿É¿¿µÄÆóÒµ¼¶WebÓ¦ÓóÌÐò¡£ASP.NETµÄÓï·¨Ôںܴó³Ì¶ÈÉÏÓëASP¼æÈÝ£¬Í¬Ê±Ëü»¹ÌṩһÖÖеıà³ÌÄ£Ðͺͽṹ£¬ÓÃÓÚÉú³É¸ü°²È«¡¢¿ÉÉìËõºÍÎȶ¨µÄÓ¦ÓóÌÐò¡£
²ÉÈ¡ÁËASP.NET¼¼ÊõµÄϵͳÔÚÐÔÄÜÉÏÓÐÁ˺ܴóµÄ¸ÄÉÆ£¬Ö÷Òª±íÏÖÔÚÒÔϼ¸·½Ã棺
ÓÉÓÚASPÒ³Ãæÿ´Î´ò¿ª¶¼±ØÐë¾¹ýÏȱàÒëºó½âÊ͵Ĺý³Ì£¬ËùÒÔÒ³ÃæÔÚ·´¸´´ò¿ªÊ±ËÙ¶ÈûÓÐÈκÎÌáÉý£¬¶øASP.NETÒ³ÃæÖ»ÐèÒªÒ»´Î±àÒëºó²»ÐèÒªÖØбàÒ룬ֱµ½¸ÃÒ³Ãæ±»Ð޸ĻòWebÓ¦ÓóÌÐòÖØÐÂÆô¶¯¡£ÕâʹµÃÔÚ¶à´Î·ÃÎÊʱËÙ¶ÈÓÐÁ˼«´óµÄÌáÉý£»
ÓÉÓÚASPûÓÐÌṩÈκÎÊä³öÊý¾ÝΪÄÚÈݵÄÔª¼þ£¬ËùÒÔÔÚʹÓÃASP׫дÊý¾Ý¿âÒ³ÃæʱֻÄܽèÖúADOµÄRecordSet¶ÔÏóÖð±Ê¶ÁÈ¡¼Ç¼£¬¶øASP.NETͨ¹ýADO.NETÌṩµÄDataGridµÈÊý¾Ý¿âÔª¼þ¿ÉÒÔÖ±½ÓºÍÊý¾Ý¿âÁªÏµ£»
ASP.NETÖ§³ÖÓ¦ÓóÌÐòµÄʵʱ¸üУ¬¹ÜÀíÔ±²»±Ø¹ØµôÍøÂç·þÎñÆ÷»òÕßÉõÖÁ²»ÓÃÍ£Ö¹Ó¦ÓóÌÐòµÄÔËÐоͿÉÒÔ¸üÐÂÓ¦ÓÃÎļþ¡£Ó¦ÓóÌÐòÎļþÓÀÔ¶²»»á±»¼ÓËø£¬Òò´ËÉõÖÁÔÚ³ÌÐòÔËÐÐʱÎļþ¾Í¿ÉÒÔ±»¸²¸Ç£¬µ±Îļþ¸üкó£¬ÏµÍ³»áκ͵Øת»»µ½Ðµİ汾£»
ASP.NET²ÉÈ¡"CodeBehind(´úÂë·ÖÀë)¼¼Êõ"·½Ê½±àд´úÂëʹµÃ´úÂë¸üÒ×ÓÚ±àд£¬½á¹¹¸üÇåÎú£¬½µµÍÁËϵͳ¿ª·¢Óëά»¤µÄ¸´ÔӶȺͷÑÓá£