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

ASP.NET±à³ÌµÄÊ®´ó¼¼ÇÉ


ASP.NET±à³ÌµÄÊ®´ó¼¼ÇÉ
·¢²¼ÈÕÆÚ£º2008-08-03
1¡¢ÔÚʹÓÃVisual Studio .NETʱ£¬³ýÖ±½Ó»ò·ÇÒýÓõĶÔÏóÍ⣬²»ÒªÊ¹ÓÃȱʡµÄÃû×Ö
.NET´øÀ´µÄºÃ´¦Ö®Ò»ÊÇËùÓеÄÔ´´úÂëºÍÅäÖÃÎļþ¶¼ÊÇ´¿Îı¾Îļþ£¬Äܹ»Ê¹ÓÃNotepad»òWordPadµÈÈÎÒâµÄÎı¾±à¼­Æ÷½øÐб༭¡£Èç¹û²»Ô¸ Ò⣬ÎÒÃDz¢·ÇÒ»¶¨ÒªÊ¹ÓÃVisual Studio .NET×÷Ϊ¼¯³É¿ª·¢»·¾³¡£µ«Ê¹ÓÃÁËVisual Studio .NET£¬ÎÒÃÇ¿ÉÒÔÔÚWindowsÎļþ¹ÜÀíÆ÷Öп´µ½Îļþ£¬»òÔÚVisual Studio .NETÖ®Íâ´ÓÎı¾±à¼­Æ÷ÖÐä¯ÀÀÎļþµÄÄÚÈÝ¡£ ×Ö´®4
ʹÓÃVisual Studio .NET×÷Ϊ¼¯³É¿ª·¢»·¾³ÓÐÐí¶àºÃ´¦£¬ÆäÖÐ×îÏÔÖøµÄºÃ´¦ÊÇËü¼«´óµØÌá¸ßÁËÉú²úЧÂÊ¡£Ê¹ÓÃVisual Studio. NET£¬ÎÒÃÇÄܹ»ÔÚ¸¶³ö½ÏС´ú¼ÛµÄÇé¿öϸü¿ìµØ¿ª·¢Èí¼þ¡£×÷Ϊ¼¯³É¿ª·¢»·¾³Ò»²¿·ÖµÄIntelliSenseÌṩ×Ô¶¯µÄ´úÂëÍê³É¡¢ÔÚÊäÈë·½·¨»òº¯ÊýʱÌṩ ¶¯Ì¬°ïÖú¡¢Óï·¨´íÎóµÄʵʱÌáʾ£¬ÒÔ¼°ÆäËûÄܹ»Ìá¸ßÉú²úЧÂʵŦÄÜ¡£ ×Ö´®7
ÏóÆäËû¸´ÔӵŤ¾ßÄÇÑù£¬ÔÚѧ»áÈçºÎ³ä·Ö·¢»ÓËüµÄ×÷ÓúÍÕÆÎÕÆä“Ï°ÐԔǰ£¬Visual Studio .NETÒ²»áʹÎÒÃDzúÉúÒ»ÖÖ´ìÕ۸С£ÓÐʱ£¬ËüÏóÒ»¸öÄÑÒÔÁ˽âµÄºÚºÐ×Ó£¬»áÉú³É´óÁ¿µÄÎļþºÍÐí¶àÎÞÓõĴúÂë¡£
Visual Studio .NETµÄÒ»¸ö¹¦ÄÜÊÇ£¬ÎÞÂÛÊÇÀà¡¢¿Ø¼þ»ò±íµ¥ÖеĶÔÏó£¬Ëü¶¼Äܹ»ÎªÐ¶ÔÏóÌṩȱʡÃû×Ö¡£ÀýÈ磬Èç¹ûÎÒÃÇ´´½¨ÁËÒ»¸öеÄASP.NET Web Application£¬ÆäȱʡµÄÃû×Ö½«ÊÇWebApplication1¡£ÎÒÃÇ¿ÉÒÔÔړй¤³Ì”¶Ô»°¿òÖз½±ãµØ¸Ä±ä¸ÃÓ¦ÓõÄÃû×Ö£¬µ«Í¬Ê±¸Ä±äµÄÖ»ÊǸÃÓ¦ ÓóÌÐòµÄÃû×Ö¿Õ¼äµÄÃû×Ö¼°ÆäËùÔÚµÄÐéÄâĿ¼£¬Ô´´úÂëÎļþµÄȱʡÃû×ÖÈÔÈ»ÊÇWebForm1.aspxºÍWebForm1.aspx.cs(C#¹¤³Ì)»ò WebForm1.aspx.vb(VB.NET¹¤³Ì)¡£
ÎÒÃÇ¿ÉÒÔÔÚ·½°¸ä¯ÀÀÆ÷ÖиıäASPXºÍ´úÂëʹÓõÄÎļþÃû×Ö£¬µ«WebÒ³ÀàµÄÃû×ÖÈÔÈ»½«ÊÇWebForm1¡£Èç¹ûÔÚ¸ÃWeb±íµ¥ÉÏÉú³ÉÒ»¸ö°´Å¥£¬ÆäȱʡµÄÃû×Ö½«ÊÇButton1¡£ÊÂʵÉÏ£¬ËùÓпؼþµÄÃû×Ö¶¼ÊÇÓɿؼþµÄÀàÐͺÍÊý×Ö×é³ÉµÄ¡£
ÎÒÃÇÄܹ»£¬Ò²Ó¦¸Ã½«Ó¦ÓóÌÐòÖÐËùÓÐµÄ±íµ¥ºÍ¿Ø¼þµÄÃû×Ö¶¼Ð޸ijÉÓÐÒâÒåµÄÃû×Ö¡£¶ÔÓÚ½ÏСµÄÑÝʾÐÔ³ÌÐò¶øÑÔ£¬È±Ê¡µÄÃû×Ö»¹Äܹ»Ê¤ÈΣ¬µ«Èç¹ûÓ¦ÓóÌÐòÓÉ¶à ¸ö±íµ¥£¬Ã¿¸ö±íµ¥ÉÏÓÐÐí¶à°´Å¥ºÍ±êǩʱ£¬ÏófrmStartup¡¢frmDataEntryºÍfrmReportsÕâÑùµÄ±íµ¥Ãû¾Í±ÈForm1¡¢ Form2ºÍForm3ÕâÑùµÄÃû×Ö¸üÒ×ÓÚÀí½âºÍά»¤¡£ ×Ö´®1
Èç¹û±íµ¥ÉϿؼþÒªÔÚ´úÂëµÄÆäËûµØ·½ÒýÓã¬Ê¹ËüÓÐÒ»¸öÓÐÒâÒåµÄÃû×־͸üÖØÒªÁË¡£btnOK¡¢btnCancelºÍbtnPrintÕâÑùµÄÃû×Öʹ¿´´úÂëµÄÈ˸üÈÝÒ×Àí½â£¬Òò¶ø£¬Ò²±ÈÃû×ÖΪButton1¡¢Button2¡¢Button3ÕâÑù


Ïà¹ØÎĵµ£º

ASP.NETʵÏÖURLÖØд

ʹÓÃURLÖØд¿ÉÒÔʵÏÖÓÃhttp://www.mzwu.com/d100.aspxÀàËƵĵØÖ·À´·ÃÎÊhttp://www.mzwu.com
/default.aspx?id=100£¬ÕâÑùµÄºÃ´¦·Ç³£¶à£ºÒ»ÊÇÒþ²ØÁËÕæʵ·¾¶£¬Ìá¸ßÓ¦ÓóÌÐòµÄ°²È«ÐÔ£»¶þÊÇÓÐÀûÓÚËÑË÷ÒýÇæÊÕ¼£»ÈýÊDZãÓÚ¼ÇÒ䡣ϱß
ÎÒÃÇÀ´¿´¿´ÔÚASP.NETÖÐÔõôʵÏÖURLÖØд¡£
1.ÏÂÔØURLRewriter.dll
·Åµ½BinÎļþ¼ÐÖС£
2.Web ......

asp.net ²¿ÊðÊý¾Ý¿â¡¢¿ªÊ¼²Ëµ¥¡¢×ÀÃæ¿ì½Ý·½Ê½ÊµÀý


//²¿Êð×ÀÃæ¿ì½Ý·½Ê½*******************#region//²¿Êð×ÀÃæ¿ì½Ý·½Ê½*******************
     StreamWriter sw2=System.IO.File.CreateText(Context.Parameters["des"].ToString()+"WebSetupTest.url");
     stateSaver.Add("DeskQuick",Context.Parameters["des"].ToString() ......

asp.net¶¯Ì¬Éú³ÉTreeView

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient; ......

asp.netÖг£ÓõÄ26¸öÓÅ»¯ÐÔÄܵķ½·¨


1. Êý¾Ý¿â·ÃÎÊÐÔÄÜÓÅ»¯¡¡
¡¡
Êý¾Ý¿âµÄÁ¬½ÓºÍ¹Ø±Õ
·ÃÎÊÊý¾Ý¿â×ÊÔ´ÐèÒª´´½¨Á¬½Ó¡¢´ò¿ªÁ¬½ÓºÍ¹Ø±ÕÁ¬½Ó¼¸¸ö²Ù×÷¡£ÕâЩ¹ý³ÌÐèÒª¶à´ÎÓëÊý¾Ý¿â½»»»ÐÅÏ¢ÒÔͨ¹ýÉí·ÝÑéÖ¤£¬±È½ÏºÄ·Ñ·þÎñÆ÷×ÊÔ´¡£ASP.NETÖÐÌṩÁËÁ¬½Ó³Ø(Connection Pool)¸ÄÉÆ´ò¿ªºÍ¹Ø±ÕÊý¾Ý¿â¶ÔÐÔÄܵÄÓ°Ï졣ϵͳ½«Óû§µÄÊý¾Ý¿âÁ¬½Ó·ÅÔÚÁ¬½Ó³ØÖУ¬ÐèҪʱȡ³ö£¬¹Ø±ÕÊ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ