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

Asp.netÒ³Ãæ´«µÝ²ÎÊýµÄ¼¸ÖÖ·½·¨¶Ô±È½²½â

µÚÒ»ÖÖ·½·¨£º
ͨ¹ýURLÁ´½ÓµØÖ·´«µÝ
send.aspx:
   protected void Button1_Click(object sender, EventArgs e)
     {
         Request.Redirect("Default2.aspx?username=honge");
     }
receive.aspx:
string username = Request.QueryString["username"];ÕâÑù¿ÉÒԵõ½²ÎÊýÖµ¡£
µÚ¶þÖÖ·½·¨£º
send.aspx
<form id="form1" runat="server" action="receive.aspx" method=post>
     <div>
         <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
<asp:TextBox ID="username" runat="server"></asp:TextBox>
</div>
     </form>
receive.aspx
string username = Ruquest.Form["receive"];
µÚÈýÖÖ·½·¨£º
send.aspx:
   protected void Button1_Click(object sender, EventArgs e)
     {
         Session["username"] = "honge";
         Request.Redirect("Default2.aspx");
     }
receive.aspx:
string username = Session["username"];ÕâÑù¿ÉÒԵõ½²ÎÊýÖµ¡£
µÚËÄÖÖ·½·¨£º
send.aspx:
   protected void Button1_Click(object sender, EventArgs e)
     {
         Application["username"] = "honge";
         Request.Redirect("Default2.aspx");
     }
receive.aspx:
string username = Application["username"];ÕâÑù¿ÉÒԵõ½²ÎÊýÖµ¡£
µÚÎåÖÖ·½·¨£º
send.aspx:
   public string Name
     {
         get {
             return "honge";
         }
     }
     protected void Button1_Click(object sender, Even


Ïà¹ØÎĵµ£º

asp.net mvc »·¾³ÅäÖÃÎÊÌâ

 ½üÆÚÓöµ½asp.net mvc »·¾³ÅäÖÃÎÊÌ⣬ËäÈ»¶¼°²×°ÉÏÈ¥ÁË£¬µ«ÊÇÔÚ´´½¨ADO.net ʵÌåÊý¾ÝÄ£ÐÍÍê³Éºó£¬»áÆÈʹvs´°¿Ú¹Ø±Õ£¬µ±ÄãÖØдò¿ªºó·¢ÏÖmodelsÎļþÖÐʲôҲûÓУ¬µ«ÊÇÔÚÏîÄ¿ËùÔÚµÄλÖã¬modelsÖÐÓÐÄã¸Õ½¨µÄʵÌåÊý¾ÝÄ£ÐÍ£¬¿ì°ÑÎÒÓôÃÆËÀÁË£¡Õâµ½µ×ÊÇÔõô»ØÊ£¿
ÎÒÓõÄÊÇVS2008 ¼òÌåÖÐÎÄרҵ°æ
AspNetMVC 1.0
vs2008 s ......

ASP.NET 2.0Á¬½ÓOracle 10g

using System;
using System.Data;
using System.Configuration;
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.OracleClient;//ÒýÈëÃüÃû¿Õ¼ä ......

OrcaleÓëAsp.netµÄ¶Ë¿Ú³åÍ»¡¾Ä§ÀÖÊÓƵ www.mldn.cn¡¿


Ò³ÃæµØÖ·ÊÇ:http://www.mldn.cn/articleview/2007-2-6/article_view_1400.htm
Web·þÎñµÄinetinfo.exeÓëOracleµÄApache.exe½ø³ÌËùÕ¼ÓõĶ˿ڶ¼°üÀ¨80¶Ë¿Ú¡£
Èç¹ûÓû§ÊÇÔÚ°²×°ÁËOracleÖ®ºó£¬ÔÙʹÓÃ.NET´´½¨ASP.NETÓ¦ÓóÌÐò³öÏÖÏÂÃæÇé¿öµÄ´íÎó£º
VS.NET¼ì²âµ½web·þÎñÆ÷ÔËÐеÄÊÇASP.NET 1.0°æ£¬Òª´´½¨»ò´ò¿ªµÄÓ¦ÓóÌÐò¿ÉÒ ......

asp.netÖÐ'***\ASPNET' µÇ¼ʧ°ÜµÄÔ­ÒòÓë½â¾ö°ì·¨

1¡¢Èç¹ûÕâÖÖÇé¿ö³öÏÖÔÚ±¾»ú£¬ÔòÔÚsql server µÄÆóÒµ¹ÜÀíÆ÷µÄ¿ØÖÆ̨Ŀ¼ÀïÑ¡ÔñÏàÓ¦µÄÊý¾Ý¿â£¬ÔÚÆäϵÄÓû§½ÚµãµãÓÒ¼üн¨Êý¾Ý¿âÓû§£¬½«***\ASPNETÓû§¼ÓÈ룬²¢¸³ÓèpublicȨÏÞ¡£
2¡¢Èç¹û³öÏÖÔÚÆäËûµÄµçÄÔ£¬Ôò¼ì²é ³ÌÐòÁ¬½ÓSQLServerµÄÁ¬½Ó×Ö·û´®ÊDz»ÊÇÓÃÁËwindows¼¯³ÉµÇ½£¬Ò»°ã³öÏÖ´ËÎÊÌâµÄ×´¿ö¶¼ÊÇÒòΪʹÓÃÁËwindows¼¯³Éµ ......

ASP.NET Web Ó¦ÓóÌÐòµÄ²¼¾Ö

ASP.NET Ó¦ÓóÌÐò±ØÐëλÓÚ IIS ÐéÄâĿ¼£¨Ò²³ÆΪӦÓóÌÐò¸ùĿ¼£©ÖС£ASP.NET Ó¦ÓóÌÐò¿É°üº¬ÒѱàÒëµÄ³ÌÐò¼¯£¨Í¨³£ÊÇ°üº¬ÒµÎñÂß¼­µÄ DLL Îļþ£©¡¢ÓÃÓÚ´æ´¢Ô¤±àÒë´úÂëµÄÒÑ֪Ŀ¼£¨Ä¿Â¼Ãû×ÜÊÇ \Bin£©¡¢´æ´¢ÔÚ»ùÓÚÎı¾µÄ¡¢Ò׶ÁµÄ Web.config ÎļþÖеÄÅäÖÃÉèÖá¢Ò³¡¢·þÎñÆ÷¿Ø¼þ£¬ÒÔ¼° XML Web ·þÎñ¡£
·þÎñÆ÷ÖÐÈκβ»ÓëÆäËûÓ¦Óà ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ