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

asp.netÖеÄsessionÎÊÌâ - .NET¼¼Êõ / ASP.NET

ÈçºÎÓÃsessionÀ´¿ØÖÆÒ»¸öÍøÕ¾µÄµÇ¼£¿
  µ±´ËÓû§Ã»ÓеǼ¾Í²»¿ÉÒÔͨ¹ý±ðµÄµ¼º½½øÈëÁË£¬Èç¹ûËûÔÚ²»µÇ¼µÄÇé¿öϵã»÷ÄÇЩÁ´½Ó£¬¾Í»áÌøµ½ÄǸöµÇÂ¼Ò³ÃæÈÃÓû§µÇ¼£¬»òÕß³öÏÖÒ»¸ö¶Ô»°¿ò£¬ÌáʾÓû§ÐèÒªµÇ¼²Å¿ÉÒÔ½øÈë¡£¡£¡£
ÓÃSessionÀ´´æ´¢Óû§ID£¬ÔÚÿ¸öÒ³ÃæµÄPage_LoadÖÐÅжÏSession["ID"]ÊÇ·ñΪnull,ΪnullÔòûÓеǼ£¬¾ÍÒªResponse.Redirectµ½µÇÂ½Ò³Ãæ

public class BasePage : System.Web.UI.Page  
  {  
  public BasePage()  
  {  
  }  
  protected override void OnInit(EventArgs O)  
  {  
  if (base.Session["UserId"] == null || base.Session["UserId"].ToString().Equals(""))  
  {  
  Response.Redirect("~/Error.aspx");  
  }  
  }  
  }  
public partial class Error : System.Web.UI.Page  
  {  
  protected void Page_Load(object sender, EventArgs e)  
  {  
  Response.Write(" <script>top.location.href='login.aspx'; </script>");  
  }  
  }  


ѧϰ°¡~~~~~```

´´½¨Ò»¸öÀà Ò³Ãæ¼Ì³Ð¸ÃÀà
ÏñÈçÃδó¸çÄÇÑù¡£

Ò²¿ÉÒÔÔÚÅäÖÃÎļþÉèÖà ²»ÔÊÐíÄäÃû·ÃÎÊ

ÈçºÎÕâÑùÅäÖà ÅäÖÃÎļþÉèÖà ²»ÔÊÐíÄäÃû·ÃÎÊ

ÒýÓÃ
public class BasePa


Ïà¹ØÎÊ´ð£º

ÔÚasp.netÀïÃæ½Å±¾³ö´í - .NET¼¼Êõ / ASP.NET

function CheckOpwd(){//ÑéÖ¤Óû§Ãû
var pwd=document.all.txtOpwd;

var div1=document.getElementById("divPwd");

if (pwd.value=="")
{
......

asp.net³ÌÐòÔ±ÇóÖ° - .NET¼¼Êõ / ·Ç¼¼ÊõÇø

±¾È˹¤×÷¾­ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp.net
ÊìϤjavascript
ÊìϤCss
ÊìϤajax
ÊìϤsqlserver2005
ÓÐÒ»ÄêµÄÏîÄ¿¾­Ñé
¾ßÌåÏîÄ¿ºÍÆäËûµÄ¾Í²»ÔÚÕâдÁË
ÓÐÒâÕßÁªÏµ£º
QQ:359233910
ÒýÓÃ
±¾È˹¤×÷¾­ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp ......

wapÍøÕ¾¿ª·¢µÄÎÊÌâ - .NET¼¼Êõ / ASP.NET

ÎÒÓÃ.net¿ª·¢wapÍøÕ¾
1£¬ÎÒ´Ó¹¤¾ßÏäÀïÍÏÁËÁ½¸ölink£¬ÕâÁ½¸ölink»áÏÔʾÔÚÁ½ÐУ¬Èç¹ûÈÃÕâÁ½¸ölink´¦ÓÚͬһÐС£
2£¬ÈçºÎÏÔʾÁ½¸ö¿Ø¼þÖ®¼äµÄ¿Õ¸ñÎÊÌâ¡£
¸úwapÓйØÂ𣿲»Ì«Ã÷°×

ÓÑÇé°ï¶¥¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£

¾Í ......

aspÍøÕ¾°²È«ÎÊÌâ - Web ¿ª·¢ / ASP

¹ØÓÚÍøÕ¾°²È«µÄÎÊÌ⣡
ÎÒÁ˽⵽µÄÍøÕ¾°²È«ÎÊÌâ°üÀ¨£º
sql×¢Èë©¶´ºÍ±©¿â©¶´»¹ÓÐÉÏ´«Â©¶´
³ýÁËÕâЩ»¹ÓÐÆäËûµÄ©¶´Ã´£¿
×¢Èë©¶´¿ÉÒÔͨ¹ý¹ýÂËÀ´·ÀÖ¹
±©¿â©¶´Ôõô·ÀÖ¹
»¹ÓÐÈËÉÏ´«µÄľÂíÊÇ.gif
ÕâÖÖ©¶´Ôõôȥ± ......

asp ·­Ò³ÔõôʵÏÖ£¿ - .NET¼¼Êõ / ASP.NET

asp ·­Ò³ÔõôʵÏÖ£¿
·ÖÒ³¿ÉʹÓ÷ÖÒ³¿Ø¼þÈçaspnetpager

ûÕÒµ½´Ë¿Ø¼þ£¡£¡£¡£¡£¡

µÚÈý·½×é¼þ ÐèÒªÔÚÍøÉÏÈ¥ÏÂÔØ http://www.webdiyer.com/Controls/AspNetPager/Downloads

²»Óÿؼþ Ôõô×ö°¡£¡

hehe

²» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ