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

ASP.NETÍøÕ¾ÓëDiscuz!NTÂÛ̳ÕûºÏ

²½Öè1£º
ÒýÈë5¸öDLLµ½ÏîÄ¿ÖÐ
·Ö±ðÊÇ
using Discuz.Common;
using Discuz.Forum;
using Discuz.Config;
using Discuz.Entity;
using Discuz.Data;
²½Öè2£º 
   public class Discuz_NT
    {
        public static ArrayList Login(string username, string password, int question, string answer)
        {
            Discuz.Config.GeneralConfigInfo config = Discuz.Config.GeneralConfigs.GetConfig();
            OnlineUserInfo oluserinfo = OnlineUsers.UpdateInfo(config.Passwordkey, config.Onlinetimeout);
            int olid = oluserinfo.Olid;
            ArrayList result = new ArrayList();
            int uid = -1;
            //Èç¹ûÉèÖÃÖÐDiscuz!NTµÄÃÜÂëģʽΪ¶¯ÍøÃÜÂë¼æÈÝģʽ£¨Ò»°ã½öÓÃÓÚ´Ó¶¯ÍøÊý¾Ýת»»À´µÄÂÛ̳£©
            if (config.Passwordmode == 1)
            {
                //Èç¹ûºǫ́ÉèÖÃÁ˱ØÐëʹÓð²È«ÌáÎÊ
                if (config.Secques == 1)
                {
                    uid = Users.CheckDvBbsPasswordAndSecques(username, password, question, answer);
                }
         &n


Ïà¹ØÎĵµ£º

ASP.NETÖ®Èý ASP.NETÊý¾Ý¼°¿Ø¼þ

ASP¡£NETÖй²Óм¸ÖÖÀàÐ͵Ŀؼþ
========================================
Á½ÖÖ£º
1. ¿Í»§¶Ë¿Ø¼þ£¬Ò²¾ÍÊÇÎÒÃÇÔÚHTMLÖо­³£Óõ½µÄ
2. ·þÎñ¶Ë¿Ø¼þ£¬ÀýÈç: <asp:TextBox ID="txt" runat="server" />
¿Í»§¶Ë¿Ø¼þÒ²¿ÉÒÔת³É·þÎñ¶Ë¿Ø¼þ
<input type="text" id="txt" runat="server" />
HTML ºÍ WEB
ASP¡£NET ......

asp.net ·¢ËÍÓʼþ

  ¼¸¸öÔÂÇ°£¬×öÓû§×¢²áÄ£¿éÒªÓõ½·¢ËÍÓʼþ¹¦ÄÜ£¬Ò²Åöµ½ÁËЩ»ò´ó»òСµÄÎÊÌ⣬ÏÖÔÚ×ܽáһϣº
ÎÒÏÈÌù³ö·¢ËÍÓʼþÓõ½µÄ´úÂ룺
public void SendEmail(string stremail, string content,string title)
{
MailMessage mm = new MailMessage();
mm.from = new MailAddress(¹«Ë¾ÓÊÏä) ......

ASP.NET±íµ¥ÑéÖ¤Ö®»ù±¾ÑéÖ¤¿Ø¼þÒ»

Asp.netΪÎÒÃÇÌṩÁËÁù¸öÑéÖ¤ÑéÖ¤¿Ø¼þ¼°ÆäÒªÆð×÷ÓñØÐëÉèÖõÄÊôÐÔ£º
(1)     RequiredFieldValidator£º¸Ã¿Ø¼þÒªÇóÆä°ó¶¨µÄÊäÈë¿Ø¼þÒ»¶¨ÒªÓÐÊäÈëÖµ£¬²»ÄÜΪ¿Õ£»
ÊôÐÔ£ºControlToValidate:ÑéÖ¤¿Ø¼þÒªÑéÖ¤µÄÊäÈë¿Ø¼þID£¨°ó¶¨µÄÊäÈë¿Õ¼äID£©
      Text£ºÊäÈë¿Ø¼þÊäÈëµÄÄÚÈݲ» ......

asp.net DropDownList ÏîÄ¿¶¯Ì¬Ìí¼Ó


Dotjum 這邊Òª½é紹Ò²ÊÇÒ»個ºÜ經µäµÄ ASP.NET ÀÏ問題£¬¾ÍÊÇÔõ麼ÒªÔÚÏÂÀ­選項ÖУ¬Ò»開ʼ DataBind() 資ÁÏ繫結時£¬
¾ÍÏȳö現預設選項 請選擇£¬Æä實×ö這個· ......

ASP.NETµÄglobal.asaxÎļþ

     ASP.NETÔÊÐíÎÒÃÇÔÚglobal.asaxÎļþÖбàдÄܹ»½ÓÊÜÈ«¾ÖʼþµÄʼþ´¦ÀíÆ÷¡£Óû§²»»áÖ±½ÓÇëÇóÕâ¸öglobal.asaxÎļþ£¬¶øÊÇÔÚÏìÓ¦Ò»¸öÈ·¶¨µÄÓ¦ÓóÌÐòʼþÖÐ×Ô¶¯µÄÖ´ÐÐglobal.asaxÎļþ¡£global.asaxÎļþÌṩÁ˸ú´«Í³µÄASPÓ¦ÓóÌÐòÖеÄglobal.asaÎļþÀàËƵķþÎñ¡£
     ÔÚglobal.asa ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ