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

ÈçºÎÔÚASP.NETÒ³ÃæÖÐǶÈëWINFORM¿Ø¼þÒ»

Ô­ÎÄ£ºÁõÎä|ÈçºÎÔÚASP.NETÒ³ÃæÖÐǶÈëWINFORM¿Ø¼þÒ»  
ÔÚ.NET֮ǰ£¬ÎÒÃÇÈç¹ûÏë·ÃÎÊ¿Í»§¶ËµÄ×ÊÔ´£¬×î³£¼ûµÄ·½Ê½¾ÍÊÇÔÚÍøÒ³ÀïÃæǶÈëACTIVEX¿Ø¼þ¡£ÏÖÔÚÓÐÁË.NET£¬ÎÒÃÇ¿ÉÒÔ½«WINFORM¿Ø¼þǶÈëÔÚÍøÒ³ÀïÃ棬´Ó¶øÖ±½Ó¿ØÖÆ¿Í»§¶Ë£¬²»¹ýÇ°ÌáÊÇ¿Í»§¶Ë±ØÐë°²×°ÁË.NET¿â¡£ÕâÓеãÏñJAVA µÄAPPLET£¨±ÊÕ߶ÔJAVA²»ÊǺÜÊ죬ÈçÓÐÎÊÌ⻶ӭָÕý£©¡£ÓÉÓÚÐèÒª.NETµÄÔËÐп⣬ËùÒÔʹÓÃÆðÀ´ÓкܶàÏÞÖÆ£¬²»¹ýÈç¹ûÊÇÆóÒµÄÚ²¿ÏµÍ³£¬.NET¿â¿ÉÒÔ×öΪ¿Í»§¶Ë²¿ÊðµÄÒ»²¿·Ö£¬ÕâÑù¿ÉÒÔÀûÓÃ.NET±à³ÌµÄÓÅÊÆ£¬´ó´ó¼ò»¯¿ª·¢¹ý³Ì¡£
±¾ÎľʹÓ×î¼òµ¥µÄÀý×ÓÈëÊÖ£¬½²½â¾ßÌåµÄ¿ª·¢¹ý³Ì¡£
Ò» н¨windows¿Ø¼þ¿âÏîÄ¿£¬¹ÃÇÒÈ¡ÃûΪLiuw.Net.WindowsControlLibrary
¶þ Ìí¼Ówindows¿Ø¼þHelloWorld
Èý Ìí¼Ó°´Å¥¼°Ê¼þ
        ÕâÀïÎÒÃÇÖ»Ìí¼ÓÒ»¸ö°´Å¥£¬µã»÷°´Å¥¾Íµ¯³öÌáʾ¿ò "Welcome To Liuwu.net "
      ÒÔÏÂÊDz¿·Ö´úÂë
C#-Code:
namespace Liuw.Net.WindowsControlLibrary
{
    public partial class HelloWorld : UserControl
    {
        public HelloWorld()
        {
            InitializeComponent();
        }
 
        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Welcome to Liuwu.Net");
        }
    }
}
ËÄ ±àÒë¸ÃÏîÄ¿£¬µÃµ½DllÎļþ Liuw.Net.WindowsControlLibrary.dll
Îå н¨ÍøÕ¾£¬½«¸Õ²ÅµÄDllÎļþ¿½±´µ½¸ùĿ¼Ï£¬²¢Ìí¼ÓÒ³Ãæ WinformCtlTest.aspx
Áù ÔÚaspxÒ³ÃæÌí¼ÓÒÔÏ´úÂë
<object id="ctl" classid="Liuw.Net.WindowsControlLibrary.dll#
Liuw.Net.WindowsControlLibrary.HelloWorld"></object>
ÕâÀïÓеãÏñActiveX¿Ø¼þµÄµ÷ÓÃ,classidµÄÃüÃû¹æÔòÊÇ "dllÎļþÃû#ÃüÃû¿Õ¼äÃû.ÀàÃû"£¬Öм䲢ûÓл»ÐУ¬ÎÒÕâÀïÖ»ÊÇΪÁË·½±ãÏÔʾ¡£
Æß ÔËÐиÃÒ³Ã棬¾Í»á¿´µ½¸Õ²Å±àдµÄ¿Ø¼þÁË£¬µã»÷°´Å¥£¬Ôòµ¯³öÌáʾ¿ò "Welcom


Ïà¹ØÎĵµ£º

petshop4.0 Ïê½âÖ®ËÄ(PetShopÖ®ASP.NET»º´æ)

Èç¹û¶Ô΢ÐͼÆËã»úÓ²¼þϵͳÓÐ×ã¹»µÄÁ˽⣬ÄÇôÎÒÃǶÔÓÚCacheÕâ¸öÃû´ÊÒ»¶¨ÊǶúÊìÄÜÏêµÄ¡£ÔÚCPUÒÔ¼°Ö÷°åµÄоƬÖУ¬¶¼ÒýÈëÁËÕâÖÖÃûΪ¸ßËÙ»º³å´æ´¢Æ÷£¨Cache£©µÄ¼¼Êõ¡£ÒòΪCacheµÄ´æÈ¡ËٶȱÈÄÚ´æ¿ì£¬Òò¶øÒýÈëCacheÄܹ»ÓÐЧµÄ½â¾öCPUÓëÄÚ´æÖ®¼äµÄËٶȲ»Æ¥ÅäÎÊÌâ¡£Ó²¼þϵͳ¿ÉÒÔÀûÓÃCache´æ´¢CPU·ÃÎʸÅÂʸߵÄÄÇЩÊý¾Ý£¬µ±CPUÐèÒª·ÃÎ ......

ÈçºÎ¿ªÊ¼ASP.NET

    ÓÃASP.NETÓÐÒ»¶Îʱ¼äÁË£¬µ«×ܾõµÃ»¹ÊÇÒ»Ö±¸¡ÓÚ±íÃ棬¶Ô¿Ø¼þ¿ª·¢ÖªÖ®ÉõÉÙ£¬¹Ê½üÆÚ¿ªÊ¼¶ñ²¹Õâ·½ÃæµÄÄÚÈÝ¡£ÒªÅÜÌâÁË£¬»¹ÊÇÏȻعËÒ»ÏÂÓ¦¸ÃÈçºÎÉÏÊÖASP.NET£¬¸ø¸Õ¿ªÊ¼½Ó´¥ËüµÄͬ־һµãÖ¸Òý£º
    1¡¢ÅªÇå³þʲôÊÇ.NET£ºËµ°×ÁËËü¾ÍÊÇÒ»Ì׿ؼþ°ü£¬Ò»°ã±»Ëµ³É¿ò¼Ü£¬ÀàËÆÓÚMFC»òÕßDELPHIµÄVCLµÈµ ......

ÔÚASP.NETÖÐÉÏ´«Í¼Æ¬²¢Éú³ÉËõÂÔͼµÄC#Ô´Âë

http://www.knowsky.com/5723.html
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls; ......

asp.netÖÐcookieµÄ´¦Àí

Ô­ÎÄ£ºÁõÎä|asp.netÖÐcookieµÄ´¦Àí  
ʹÓÃÖз¢ÏÖÓÃRequest.Cookies.Remove()ÎÞ·¨É¾³ýcookie,googleÁËһϷ¢ÏÖÒ»°ãÊÇͨ¹ý½«¹ýÆÚʱ¼äÉèÖóɹýÈ¥µÄʱ¼äÀ´Íê³Éɾ³ýµÄ¡£Ë³±ãÕûÀíÏÂcookieµÄ²Ù×÷£º
Ò» ´´½¨
1 µ¥ÖµµÄ´´½¨
C#-Code:
HttpCookie hc = new HttpCookie("Value");
hc.Value = "value";
Response.Appe ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ