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

Discuz!NTÓëasp.netÕûºÏ¼¯³ÉʵÀý½Ì³Ì

ÓÉÓÚÏîÄ¿ÐèÒªÒ»¸öÂÛ̳£¬±¾À´ÓÐCSµÄ£¬ÔÚ.netϺܳöÃûµÄ¹úÍ⿪ԴÂÛ̳¡£µ«ÎªÁËÊÊÓ¦¹úÄڵķçÆø£¬×îºóÑ¡ÓÃÔÚ¹úÄÚÈçÈÕÖÐÌìµÄDiscuz!NT¡£
½«DiscuzÓëasp.net¿ª·¢µÄÍøÕ¾ÕûºÏ£¬ÓкܶàÈËÒѾ­Íê³ÉÁË¡£
µ«ÔÚÍøÉÏûÓÐÕÒµ½½ÏÏêϸµÄÃèÊö¡£·½·¨µ¹ÊÇÓкܶàÖÖ¡£
ÔÚÏîÄ¿ÖÐ×¢²áÐÂÓû§Ê±£¬Ò²Í¬Ê±µ÷ÓÃÂÛ̳µÄÓû§×¢²á£¬ÕâÑù¾Íͬ²½×¢²áÁË¡£ÖÁÓÚɾ³ýÓû§£¬ËƺõDiscuz!NTûÓÐÌṩAPI£¬¿ÉÒÔÔÚÏîÄ¿ÖÐɾ³ýÓû§Ê±£¬ÔÙÖ±½Óȥɾ³ýDiscuz!NTµÄuser±íÖеÄÏà¹ØÏî¡£
ÔÚ´Ë£¬ÎҾͽ«´Ë´Î¾­Àúд³öÀ´£¬Ï£Íû¶ÔÄúÓÐÓá£
ÔÚ¿´¹ýÕâƪÎÄÕÂ
http://anforen.5d6d.com/thread-855-1-1.html
ºÍÕâƪÎÄÕÂ
http://wiki.nt.discuz.net/index.php?title=%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E6%B5%8B%E8%AF%95%E6%8E%A7%E5%88%B6%E5%8F%B0
ÎÒ¶ÙÎòÁË...
°´ÉÏÊöÎÄÕµÄÃèÊö£¬ÏÈ°´discuz!ntµÄÓû§Ö¸ÄÏ,ÔÚwindows 2003Ï°²×°ºÃÂÛ̳¡£
²¢ÒÔadmin½øÈ¥£¬Ìí¼ÓapikeyµÈ¡£
È»ºóÓÃVS2008н¨Ò»ÏîÄ¿£¬Ìí¼Ótoolkit.dllºÍjsonµÄÒýÓá£
ºÃÁË£¬ Èç¹ûÄãÈÏÕæ¿´¹ýÉÏÊöÎÄÕ£¬ÔÙ¼ÓÉÏ£¬ÎÒÕâ¶ùÌùµÄÒ»µã´úÂ룬Ӧ¸Ã¿ÉÒÔÍê³ÉÁË¡£
´úÂ루ʵÏÖÁ˵ǼºÍ×¢²á£©ÈçÏ£º
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Discuz.Toolkit;
namespace IntDNT3
{
public partial class _Default : System.Web.UI.Page
{
string api_key = "c83a253f082bc671d8fbe42d485a1488";
string secret = "bdb7378cef77149adec776b1b6e92ee8";
string url = "http://localhost/";
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnValidation_Click(object sender, EventArgs e)
{
DiscuzSession ds = new DiscuzSession(api_key, secret, url);
Uri uri = ds.CreateToken();
Response.Redirect(uri.ToString());
}
protected void btnLogin_Click(object sender, EventArgs e)
{
DiscuzSession ds = new DiscuzSession(api_key, secret, url


Ïà¹ØÎĵµ£º

ASP.NET¹ØÓÚÌõÐÎÂëµÄÉú³ÉÎÊÌâ¼æÍøÒ³´òÓ¡

ÌõÐÎÂëÊÇÆù½ñΪֹ×î¾­¼Ã¡¢ÊµÓõÄÒ»ÖÖ×Ô¶¯Ê¶±ð¼¼Êõ¡£ÌõÐÎÂë¼¼Êõ¾ßÓÐÒÔϼ¸¸ö·½ÃæµÄÓŵã
¡¡¡¡A£®ÊäÈëËٶȿ죺Óë¼üÅÌÊäÈëÏà±È£¬ÌõÐÎÂëÊäÈëµÄËÙ¶ÈÊǼüÅÌÊäÈëµÄ5±¶£¬²¢ÇÒÄÜʵÏÖ“¼´Ê±Êý¾ÝÊäÈ딡£
¡¡¡¡B£®¿É¿¿ÐԸߣº¼üÅÌÊäÈëÊý¾Ý³ö´íÂÊΪÈý°Ù·ÖÖ®Ò»£¬ÀûÓùâѧ×Ö·ûʶ±ð¼¼Êõ³ö´íÂÊΪÍò·ÖÖ®Ò»£¬¶ø²ÉÓÃÌõÐÎÂë¼¼ÊõÎóÂëÂʵ ......

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

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

asp.net¼Æ»®ÈÎÎñ¹ÜÀí³ÌÐòʵÏÖ£¬¶àÏß³ÌÈÎÎñ¼ÓÔØ

 b/sģʽÏÂÓóÌÐòʵÏּƻ®ÈÎÎñ£¬Ò»Ö±ÊǸö²»Ì«ºÃ½â¾öºÍ¹ÜÀíµÄÎÊÌ⣬µ±È»¿ÉÒÔ²ÉÓÃajax ¼ÆʱÆ÷µÄ·½·¨Ä£Äâform¶ËµÄtimerʼþ¡£asp.netÏÂʵÏÖ¿ÉÒÔ½«¼Æ»®ÈÎÎñµÄ·½·¨·ÅÔÚglobalÀʹÓÃÒ»¸öͳһµÄÈÎÎñ¹ÜÀíÀàÀ´¹ÜÀí¸÷ÖÖÈÎÎñµÄÖ´ÐУ¬×öµ½²¢Ðв»ã££¡
ÏÂÃæÊÇÎÒдµÄÒ»¸ö·½·¨£¬Ï£ÍûÆð¸öÅ×שÒýÓñµÄ×÷Óã¡´ó¼ÒÒ»ÆðѧϰÏ£º
µÚÒ»²½¶¨ ......

ʹÓÃASP.NETÍøÕ¾loginµÈ¿Ø¼þµÄ»ù±¾²½Öè

1¡¢½¨Á¢Ò»¸öWebÓ¦ÓóÌÐòÏîÄ¿£¬Òª´´½¨½â¾ö·½°¸²¢´´½¨½â¾ö·½°¸Ä¿Â¼£¬ÒÔºó¿ÉÒÔ¸ù¾ÝÐèÒª´´½¨ÆäËûÏîÄ¿£¬È磺Àà¿â
2¡¢ÓÃaspnet_regsql¹¤¾ßÉú³ÉloginµÈ¿Ø¼þÐèÒªµÄºǫ́Êý¾Ý¿â±í
3¡¢°ÑÕâЩ±íºÍloginµÈµÇ½¿Ø¼þÁªÏµÆðÀ´£¬ÕâÀï×îºÃµÄ·½·¨ÊÇʹÓÃIISÍøÕ¾ÊôÐÔÀïÃæµÄASP.NET±êÇ©£¬ÔÚÄÇÀï¿ÉÒԱ༭ÅäÖÃÎļþ
     Æäʵ ......

asp.netÀïµ¼³öexcel±í·½·¨»ã×Ü

1¡¢ÓÉdatasetÉú³É
public void CreateExcel(DataSet ds,string typeid,string FileName) 
  {
   HttpResponse resp;
   resp = Page.Response;
   resp.ContentEncoding = System.Text.Encoding.GetEncoding("GB2312");
   resp.AppendHeader("Content-Dis ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ