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

Asp.Net FormsÑé֤ʵÀý

ÔÚAsp.NetÌṩÁËÈýÖÖ³£ÓõÄÑéÖ¤·½Ê½£ºWindows·½Ê½ÊǺÍIIS½áºÏÆðÀ´¿ÉÒÔʵÏÖ»ù±¾¡¢ÕªÒª¡¢¼¯³É WindowsµÈÉí·ÝÑéÖ¤£»Passport·½Ê½ÊÇʹÓÃWindows Live IDµÄÕÊ»§À´½øÐÐͳһÑéÖ¤µÄ£»Forms·½Ê½ÊÇʹÓó£¼ûµÄ±íµ¥À´ÊµÏÖÑéÖ¤¡£
    Ò»¡¢ÆÕͨʵÏÖ·½Ê½
   
    ÕâÖÖ·½Ê½ÊÇ×î¼òµ¥µÄ£¬Ö»ÐèÒªÅäÖÃһϾͿÉÒÔÁË¡£
   
    1¡¢Ö´ÐÐaspnet_regsqlÃüÁÁ¢Êý¾Ý¿â
   
    aspnet_regsqlÃüÁîÔÚC:\WINDOWS\Microsoft.NET\Framework\v2.0.50727Ŀ¼Ï£¬°´ÌáʾÔËÐоͿÉÒÔÁË
    2¡¢Ð½¨Ò»¸öwebÍøÕ¾
   
    ÔÚWeb.ConfigÖмÓÈëÅäÖãº
      <connectionStrings>
        <add name="MySqlConnection" connectionString="Data Source=dbserver;Initial Catalog=database;user id=userid;password=****;" />
      </connectionStrings>
      <system.web>
            <authorization>
                <deny users="?"/>
            </authorization>
            <authentication mode="Forms">
                <forms loginUrl="login.aspx" name=".ASPXAUTH"/>
            </authentication>
        <membership defaultProvider="SqlProvider">
          <providers>
            <clear />
            <add connectionStringName="MySqlConnection" applicationName


Ïà¹ØÎĵµ£º

dz̸ASP.net°²È«±à³Ì

ÔÚWeb±à³Ì¹ý³ÌÖУ¬´æÔÚןܶలȫÒþ»¼¡£±ÈÈçÔÚÒÔÇ°µÄASP°æ±¾ÖУ¬CookieΪ·ÃÎÊÕߺͱà³ÌÕ߶¼ÌṩÁË·½±ã£¬²¢Ã»ÓÐÌṩ¼ÓÃܵŦÄÜ¡£´ò¿ªIEä¯ÀÀÆ÷£¬Ñ¡Ôñ“¹¤¾ß”²Ëµ¥ÀïµÄ“InternetÑ¡Ï¬È»ºóÔÚµ¯³öµÄ¶Ô»°¿òÀïµ¥»÷“ÉèÖÔ°´Å¥£¬Ñ¡Ôñ“²é¿´Îļþ”°´Å¥£¬ÔÚµ¯³öµÄ´°¿ÚÖУ¬¾Í»áÏÔʾӲÅÌÀï ......

ASP.NETÖзÀÖ¹Ò³Ãæ¶à´ÎÌá½»µÄ´úÂëʵÏÖ

 Button±»µã»÷ºódisableµô¸ÃÒ³ÃæÖÐËùÓеÄButton£¬´Ó¶ø·ÀÖ¹Ìá½»ÑÓʱµ¼ÖµĶà´ÎÌá½»¡£»ùÓÚ֮ǰµÄonceclickbutton½Å±¾.
//ASP.NETÖзÀÖ¹Ò³Ãæ¶à´ÎÌá½»µÄ´úÂë:javascript< script language="javascript"> < !-- function disableOtherSubmit() {
var obj = event.srcElement;
var objs = document.getElement ......

ASP.NET

      ListBox Web ·þÎñÆ÷¿Ø¼þʹÓû§Äܹ»´ÓÔ¤¶¨ÒåµÄÁбíÖÐÑ¡ÔñÒ»Ïî»ò¶àÏî¡£
 
Ò»¡¢·½°¸
ÈôÒªÒ»´ÎÏÔʾ¶à¸öÏʹÓû§Äܹ»´ÓÔ¤¶¨ÒåÁбíÖÐÑ¡ÔñÒ»¸ö»ò¶à¸öÏÇëʹÓà ListBox Web ·þÎñÆ÷¿Ø¼þ¡£ListBox ¿Ø¼þÓë DropDownList ¿Ø¼þµÄ²»Í¬Ö®´¦ÔÚÓÚ£¬Ëü¿ÉÒÔÒ»´ÎÏÔʾ¶à¸öÏʹÓû§Äܹ»Ñ¡Ôñ¶à¸öÏî£ ......

ASP.NET


Áù¡¢ListItem Àà
      ListItem ¿Ø¼þ±íʾ ListBox »ò RadioButtonList ¿Ø¼þµÈÊý¾Ý°ó¶¨Áбí¿Ø¼þÖеĸö±ðÊý¾ÝÏî¡£
Óм¸ÖÖ·½·¨¿ÉÒÔÖ¸¶¨ÎªÁбí¿Ø¼þÖеÄÏîÏÔʾµÄÎı¾¡£×î³£Óõķ½·¨Êǽ«Îı¾·ÅÔÚÄÚ²¿ HTML ÄÚÈÝÖС£ÄÚ²¿ HTML ÄÚÈÝÊÇ ListItem ¿Ø¼þµÄ¿ªÊ¼±ê¼ÇºÍ½áÊø±ê¼ÇÖ®¼äµÄÎı¾¡£»¹¿ÉÒÔʹÓà Tex ......

ASP.NET

¿ÉÒÔʹÓà Literal Web ·þÎñÆ÷¿Ø¼þ×÷ΪҳÃæÉÏÆäËûÄÚÈݵÄÈÝÆ÷¡£
 
Ò»¡¢·½°¸
Literal ×î³£ÓÃÓÚÏòÒ³ÃæÖж¯Ì¬Ìí¼ÓÄÚÈÝ¡£
 
¶þ¡¢±³¾°
Literal ¿Ø¼þ±íʾÓÃÓÚÏòÒ³ÃæÌí¼ÓÄÚÈݵļ¸¸öÑ¡ÏîÖ®Ò»¡£¶ÔÓÚ¾²Ì¬ÄÚÈÝ£¬ÎÞÐèʹÓÃÈÝÆ÷£¬¿ÉÒÔ½«±ê¼Ç×÷Ϊ HTML Ö±½ÓÌí¼Óµ½Ò³ÃæÖС£µ«ÊÇ£¬Èç¹ûÒª¶¯Ì¬Ìí¼ÓÄÚÈÝ£¬Ôò±ØÐ뽫ÄÚÈÝÌí¼Óµ½ÈÝÆ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ