摘要:
FormsAuthentication.SignOut();//清除验证信息 HttpContext.Current.Session.Clear();//清除Session内容 HttpContext.Current.Session.Abandon();//取消当前会话 阅读全文
posted @ 2010-07-28 17:22 阳光-浪漫 阅读(168) 评论(0) 推荐(0) 编辑
摘要:
FormsAuthentication.SignOut();//清除验证信息 HttpContext.Current.Session.Clear();//清除Session内容 HttpContext.Current.Session.Abandon();//取消当前会话 阅读全文
posted @ 2010-07-28 17:22 阳光-浪漫 阅读(168) 评论(0) 推荐(0) 编辑
摘要:
//C#操作数据库存储过程 用户登录验证protected void btnLogin_Click(object sender, EventArgs e) { sqlconn.Open(); SqlCommand sqlcom = new SqlCommand("proMemberInfo", sqlconn); sqlcom.CommandType = CommandType.StoredProcedure; sqlcom.Parameters.Add("@MemberName", SqlDbType.VarChar, 20).Value = txtM 阅读全文
posted @ 2010-07-28 17:17 阳光-浪漫 阅读(1598) 评论(0) 推荐(0) 编辑 |
||