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

ASP.NETÒ³Ãæ´«ÖµµÄ·½·¨


ÔÚÃæÊÔµÄʱºò£¬¾­³£»áÓöµ½ÕâÑùµÄÎÊÌ⣬ÆäʵÎÒÃÇ»á¶ÔÆäÖеļ¸ÖÖ·½·¨±È½ÏÊìϤ£¬ÒòΪÏîÄ¿Öо­³£Ê¹Óᣵ«ÊÇҪȫÃæµÄ»Ø´ðASP.NETÖÐÒ³Ãæ´«ÖµµÄ·½Ê½£¬¹À¼ÆÍùÍùºÜÄÑÈ«Ãæ¡£
Ò».
ʹÓÃQueryString±äÁ¿
¡¡¡¡¡¡¡¡QueryStringÊÇÒ»Öַdz£¼òµ¥Ò²ÊÇʹÓñȽ϶àµÄÒ»ÖÖ´«Öµ·½Ê½£¬µ«ÊÇËü½«´«µÝµÄÖµÏÔʾÔÚä¯ÀÀÆ÷µÄµØÖ·À¸ÖÐ,Èç¹ûÊÇ´«µÝÒ»¸ö»ò¶à¸ö°²È«ÐÔÒªÇ󲻸߻òÊǽṹ¼òµ¥µÄÊýֵʱ£¬¿ÉÒÔʹÓÃÕâ¸ö·½·¨¡£
      
  Response.Redirect( "target.aspx?param1=hello&param2=hi ")
      
 ½ÓÊÕÒ³Ã棺   string   str   =  
Request.QueryString["param1"]; 
                               string   str1
  =  Request.QueryString["param2];
¶þ.ʹÓÃCookie¶ÔÏó±äÁ¿(CookieÊÇ´æ·ÅÔÚ¿Í»§¶ËµÄ)
¡¡    
 ÉèÖÃCookie:   HttpCookie cookie_name = new
HttpCookie("name");
                         cookie_name.Value =
Label1.Text;
                        
Reponse.AppendCookie(cookie_name);
   
         
»ñÈ¡Cookie:
                       string name=
Request.Cookie["name"].Value.ToString();
 
Èý.
ʹÓÃSession±äÁ¿(sessionÊÇ´æ·ÅÔÚ·þÎñÆ÷¶ËµÄ)
¡¡¡¡ÉèÖÃSession:¡¡     Session["name"]
="hello";
        »ñÈ¡Session:        string name =
Session["name"].ToString();
ËÄ.ʹÓÃApplication
¶ÔÏó±äÁ¿
¡¡¡¡Application¶ÔÏóµÄ×÷Ó÷¶Î§ÊÇÕû¸öÈ«¾Ö£¬Ò²¾ÍÊÇË


Ïà¹ØÎĵµ£º

asp.netÔËÐÐÔ­Àí

Ö÷ÒªÀࣺ
¡¡¡¡System.Web.HttpRuntime
¡¡¡¡System.Web.HttpApplicationFactory
¡¡¡¡System.Web.HttpApplication
¡¡¡¡System.Web.Compilation.BuildManager
¡¡¡¡System.Web.Compilation.ApplicationBuildProvider
¡¡¡¡System.Web.Compilation.BuildProvidersCompiler
¡¡¡¡System.Web.UI.PageHandlerFactory
¡¡¡¡ÇëÇó ......

ASP.NETÃæÊÔÌâ(¶þ)

£¨×ª Ô­ÎĵØÖ·http://blog.sina.com.cn/s/blog_524c848901009e7b.html~type=v5_one&label=rela_nextarticle ×÷Õß
ÀîÑóµÄ²©¿Í
http://blog.sina.com.cn/liiyang£©
66.Èí¼þ¿ª·¢¹ý³ÌÒ»°ãÓм¸¸ö½×¶Î£¿Ã¿¸ö½×¶ÎµÄ×÷Óã¿
´ð£ºÐèÇó·ÖÎö£¬¼Ü¹¹Éè¼Æ£¬´úÂë±àд£¬QA£¬²¿Êð
67.ÔÚc#ÖÐusingºÍnewÕâÁ½¸ö¹Ø¼ü×ÖÓÐʲôÒâÒ壬 ......

ASP.NET²¥·ÅÊÓƵÎļþ

///C#ÖеÄýÌå²¥·ÅÀà
using System;
namespace ConfigTools
{
/// <summary>
/// PlayClass µÄժҪ˵Ã÷¡£
///Ô­×÷CSDN,¾­±¾ÈËÉÔ¼ÓÐÞ¸Ä
/// </summary>
public class PlayClass
{
public PlayClass()
{
......

asp.net »ñÈ¡ÉÏ´«Í¼Æ¬µÄ´óС


System.Drawing.Image imgPhoto = System.Drawing.Image.fromFile("ͼƬ·¾¶Ãû");   
int sourceWidth = imgPhoto.Width;   //ͼƬ¿í¶È
int sourceHeight = imgPhoto.Height;   //ͼƬ¸ß¶È
¿Ø¼þÃû.PostedFile.ContentLength &n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ