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

VB.NET/ASP.NET±àÂë¹æ·¶

ÔÚ¿ª·¢Öб£³ÖÁ¼ºÃµÄ±àÂë¹æ·¶ÊÇÊ®·ÖÖØÒªµÄ¡£ÎÒËù²ÉÓõÄеÄVB.net/ASP.NET±àÂë¹æ·¶£¬ÊÇÒ»ÖÖ±»Ö¤Ã÷ÄÜÃ÷ÏÔ¸ÄÉÆ´úÂë¿É¶ÁÐÔ£¬²¢ÓÐÖúÓÚ´úÂë¹ÜÀí¡¢·ÖÀàµÄ±àÂë¹æ·¶¡£²ÉÓÃÕâÖÖ±àÂë¹æ·¶£¬ÄܱÜÃâÈçÐÙÑÀÀûÃüÃû·¨´øÀ´µÄ·±³¤Ç°×º£¬±ãÓÚ¼ÇÒä±äÁ¿µÄÓÃ;¡£ÏÂÃæµÄ½éÉÜÕâÖÖ±àÂë¹æ·¶¡£
Ò»¡¢ÀàÐͼ¶µ¥Î»µÄÃüÃû
1¡¢Àà
¡õÒÔClassÉùÃ÷µÄÀ࣬¶¼±ØÐëÒÔÃû´Ê»òÃû´Ê¶ÌÓïÃüÃû£¬ÌåÏÖÀàµÄ×÷Óá£È磺
Class Indicator
¡õµ±ÀàÊÇÒ»¸öÌØÐÔ£¨Attribute£©Ê±£¬ÒÔAttribute½á⣬µ±ÀàÊÇÒ»¸öÒì³££¨Exception£©Ê±£¬ÒÔException½áβ£º
Class ColorSetException
Class CauseExceptionAttribute
¡õµ±ÀàÖ»ÐèÓÐÒ»¸ö¶ÔÏóʵÀý£¨È«¾Ö¶ÔÏ󣬱ÈÈçApplicationµÈ£©£¬±ØÐëÒÔClass½á⣬Èç
Class ScreenClass
Class SystemClass
¡õµ±ÀàÖ»ÓÃÓÚ×÷ΪÆäËûÀàµÄ»ùÀ࣬¸ù¾ÝÇé¿ö£¬ÒÔBase½áβ£º
MustInherit Class IndicatorBase
¡õÈç¹û¶¨ÒåµÄÀàÊÇÒ»¸ö´°Ì壬ÄÇôÃû×ֵĺóÃæ±ØÐë¼Óºó׺Form£¬Èç¹ûÊÇWeb´°Ì壬±ØÐë¼Óºó׺Page£º
Class PrintForm : Inherits Form ''''* Windows´°Ìå
Class StartPage : Inherits Page ''''* Web´°Ìå
2¡¢Ã¶¾ÙºÍ½á¹¹
ͬÑù±ØÐëÒÔÃû´Ê»òÃû´Ê¶ÌÓïÃüÃû¡£×îºÃÌåÏÖö¾Ù»ò½á¹¹µÄÌص㣬È磺
Enum ColorButtons ''''ÒÔ¸´Êý½á⣬±íÃ÷ÕâÊÇÒ»¸öö¾Ù
Structure CustomerInfoRecord ''''ÒÔRecord½á⣬±íÃ÷ÕâÊÇÒ»¸ö½á¹¹Ìå
3¡¢Î¯ÅÉÀàÐÍ
¡õÆÕͨµÄίÅÉÀàÐÍÒÔÃèÊö¶¯×÷µÄÃû´ÊÃüÃû£¬ÒÔÌåÏÖίÅÉÀàÐÍʵÀýµÄ¹¦ÄÜ£º
Delegate Sub DataSeeker (ByVal SeekString As String)
¡õÓÃÓÚʼþ´¦ÀíµÄίÅÉÀàÐÍ£¬±ØÐëÒÔEventHandler½á⣬È磺
Delegate Sub DataChangedEventHandler (ByVal Sender As Object, ByVal e As DataChangedEventArgs)
4¡¢½Ó¿Ú
ÓëÆäËûÀàÐͲ»Í¬£¬½Ó¿Ú±ØÐëÒªÓÉI×÷Ϊǰ׺£¬²¢ÓÃÐÎÈÝ´ÊÃüÃû£¬Í»³ö±íÏÖʵÏÖ½Ó¿ÚµÄÀཫ¾ßÓÐʲôÄÜÁ¦£º
Interface ISortable
5¡¢Ä£¿é
Ä£¿é²»ÊÇÀàÐÍ£¬ËûµÄÃû³Æ³ýÁ˱ØÐëÒÔÃû´ÊÃüÃûÍ⣬±ØÐë¼ÓÒÔºó׺Module:
Module SharedFunctionsModule
ÉÏÊöËùÓйæÔòµÄ¹²Í¬ÌصãÊÇ£¬Ã¿¸ö×é³ÉÃû³ÆµÄ´ÊÓﶼ±ØÐëÊÇ´óд¿ªÍ·£¬½ûÖ¹ÍêÈ«´óд»òСдµÄÃû³Æ¡£
¶þ¡¢·½·¨ºÍÊôÐÔµÄÃüÃû
1¡¢·½·¨
ÎÞÂÛÊǺ¯Êý»¹ÊÇ×Ó³ÌÐò£¬·½·¨¶¼±ØÐëÒÔ¶¯´Ê»ò¶¯´Ê¶ÌÓïÃüÃû¡£ÎÞÐèÇø·Öº¯ÊýºÍ×Ó³ÌÐò£¬Ò²ÎÞÐèÖ¸Ã÷·µ»ØÀàÐÍ¡£
Sub Open(ByVal CommandString As String)
Function SetCopyNumber(ByVal CopyNumber As Integer)
²ÎÊýÐèÒªÖ¸Ã÷ByVal»¹ÊÇByRef£¬ÕâÒ»µãдÆðÀ´»áÈóÌÐò±ß³¤£¬µ«·Ç³£±ØÒª¡£Èç¹ûûÓÐ


Ïà¹ØÎĵµ£º

ÔÚasp.net 2.0ÖÐʹÓÃWebParts£¨×ªÔØ£©


WebPartManager
WebPartManager¿Ø¼þÊÇ Web ²¿¼þ¿Ø¼þ¼¯µÄºËÐĿؼþ£¬ÓÃÓÚ¹ÜÀíËùÓÐ Web ²¿¼þ¿Ø¼þ¡¢Web ²¿¼þ¹¦ÄÜºÍ Web ²¿¼þʼþ¡£
±ØÐëÏòʹÓà Web ²¿¼þ¿Ø¼þµÄÿ¸öÒ³Ìí¼ÓÒ»¸ö£¨½ö½öÒ»¸ö£©WebPartManager¿Ø¼þ¡£WebPartManager¿Ø¼þÖ»ÄÜÓÉͨ¹ýÉí·ÝÑéÖ¤µÄÓû§Ê¹Óá£
WebPartManger ÈÎÎñ
ϱíÁгöÁËÓÉ WebPartManager¿Ø¼þÖ´Ðе ......

VBÕýÔò±í´ïʽ

Èç¹ûÔ­À´Ã»ÓÐʹÓùýÕýÔò±í´ïʽ£¬ÄÇô¿ÉÄܶÔÕâ¸öÊõÓïºÍ¸ÅÄî»á²»Ì«ÊìϤ¡£²»¹ý£¬ËüÃDz¢²»ÊÇÄúÏëÏóµÄÄÇôÐÂÆæ¡£
Çë»ØÏëÒ»ÏÂÔÚÓ²ÅÌÉÏÊÇÈçºÎ²éÕÒÎļþµÄ¡£Äú¿Ï¶¨»áʹÓà ? ºÍ * ×Ö·ûÀ´°ïÖú²éÕÒÄúÕýÑ°ÕÒµÄÎļþ¡£? ×Ö·ûÆ¥ÅäÎļþÃûÖеĵ¥¸ö×Ö·û£¬¶ø * ÔòÆ¥ÅäÒ»¸ö»ò¶à¸ö×Ö·û¡£Ò»¸öÈç 'data?.dat' µÄģʽ¿ÉÒÔÕÒµ½ÏÂÊöÎļþ£º
data1.dat ......

VBʵÏÖ¡°Ä¾Âí¡±Ê½ÒþÐÎÔËÐгÌÐò

³ÌÐòÒþÐεÄÔ­Àí
¡¡¡¡¶ÔÓÚÒ»¸öÒþÐγÌÐò¶øÑÔ£¬×î»ù±¾µÄÒªÇóÊÇ£º
¡¡¡¡1. ²»ÔÚ×ÀÃæ³öÏÖ½çÃ棻
¡¡¡¡2. ²»ÔÚÈÎÎñÀ¸³öÏÖͼ±ê£»
¡¡¡¡3. ³ÌÐòÃû´ÓÈÎÎñ¹ÜÀíÆ÷Ãûµ¥ÖÐÏûʧ¡£
Public Declare Function GetCurrentProcessId Lib “kernel32” () As Long
’»ñµÃµ±Ç°½ø³ÌIDº¯ÊýµÄÉùÃ÷
Public Declare Functio ......

¸÷°æ±¾IISÏÂASP.netÇëÇó´¦Àí¹ý³Ì

ASP.NETÊÇÒ»¸ö·Ç³£Ç¿´óµÄ¹¹½¨WebÓ¦ÓõÄƽ̨£¬ËüÌṩÁ˼«´óµÄÁé»îÐÔºÍÄÜÁ¦ÒÔÖÂÓÚ¿ÉÒÔÓÃËüÀ´¹¹½¨ËùÓÐÀàÐ͵ÄWebÓ¦Óá£
¾ø´ó¶àÊýµÄÈËÖ»ÊìϤ¸ß²ãµÄ¿ò¼ÜÈ磺 WebForms ºÍ WebServices --ÕâЩ¶¼ÔÚASP.NET²ã´Î½á¹¹ÔÚ×î¸ß²ã¡£
ÕâƪÎÄÕµÄ×ÊÁÏÊÕ¼¯ÕûÀí×Ô¸÷ÖÖ΢Èí¹«¿ªµÄÎĵµ£¬Í¨¹ý±È½Ï IIS5¡¢IIS6¡¢IIS7 ÕâÈý´ú IIS ¶ÔÇëÇóµÄ´¦Àí¹ý³ ......

asp.net mvc 2

Controller needs to derive from Mvc.Controller
each controller function is assiaciaed with a default view by name
controller and viewer can exchange data by viewdata
use HTML.ActionLink to add a link on html page
a url is corresponding to a action method
in view, using HTML.BeginForm() will gen ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ