Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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²É¼¯ÏµÍ³ÍòÄÜÕýÔò±í´ïʽ

ÓÉÓÚ¾­³£ÒªÐ´Ò»Ð©²É¼¯µÄ³ÌÐò£¬ÏÂÃæµÄÈý¸öº¯ÊýÊDzɼ¯Öеĺܳ£Óõĺ¯Êý¡£¹ÃÇҽвɼ¯ÏµÍ³ÍòÄÜÕýÔò±í´ïʽ°É¡£
µÚÒ»¸ö£º//»ñÈ¡Ò³ÃæµÄhtmlÔ´Âë
 public  string GetHtmlSource(string Url, string charset)
        {
    & ......

ASP.NET»ùÓÚJQUERYµÄAJAXµÄÑéÖ¤µÇ¼£¨JSON£©

Default.aspx
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" & ......

Explained: Forms Authentication in ASP.NET 2.0

Ô­µØÖ·£º
http://msdn.microsoft.com/en-us/library/aa480476.aspx
IIS Authentication
ASP.NET authentication is a two-step process. First, Internet Information Services (IIS) authenticates the user and creates a Windows token to represent the user. IIS determines the authentication mode that it shoul ......

ASP.NETÖн«Êý¾ÝÊä³öµ½Excel

ÔÚ¿ª·¢ISOÎļþ¹ÜÀíϵͳµÄʱºò£¬Ôø¾­Óöµ½¹ýÒª½«ASPXÖ±½ÓÊä³öµ½EXCELµÄÐèÇó£¬ÏÖ½«¾­ÑéËùµÃÓë´ó¼Ò·ÖÏí¡£ Æäʵ£¬ÀûÓÃASP.NETÊä³öÖ¸¶¨ÄÚÈݵÄWORD¡¢EXCEL¡¢TXT¡¢HTMµÈÀàÐ͵ÄÎĵµºÜÈÝÒ׵ġ£Ö÷Òª·ÖΪÈý²½À´Íê³É¡£
¡¡¡¡Ò»¡¢¶¨ÒåÎĵµÀàÐÍ¡¢×Ö·û±àÂë
Response.Clear(); 
Response.Buffer= true; 
Response ......

ASP.NET MVC¸ÅÀÀ£¨C#£©

Model-View-Controller (MVC) ¼Ü¹¹Ä£Ê½½«Ò»¸öÓ¦ÓóÌÐò·ÖΪÈý¸ö×é³É²¿·Ö:Ä£ÐÍ£¬ÊÓͼÓë¿ØÖÆÆ÷¡£ASP.NET MVC¿ò¼ÜΪ´´½¨»ùÓÚMVCµÄWebÓ¦ÓóÌÐòÌṩÁËÒ»ÖÖÌæ´ú·½°¸¡£ASP.NET MVC¿ò¼ÜÊÇÒ»¸öÇáÁ¿¼¶µÄ£¬¿É¸ß¶È²âÊÔµÄչʾ¿ò¼Ü£¨»ùÓÚWeb´°ÌåµÄÓ¦ÓóÌÐò£©£¬Ëü¼Ì³ÐÁËÏÖÓеÄASP.NETÌØÐÔ£¬±ÈÈçĸ°æÒ³ºÍ³ÉÔ±×ʸñȨÏÞ¡£ MVC¿ò¼Ü¶¨Ò ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ