美白酵素的制作方法:为什么我用这段代码做后台,所有用户都是等录管理界面呢?
来源:百度文库 编辑:杭州交通信息网 时间:2024/05/12 15:33:07
If dr.Read Then
Session("姓名") = "bill"
Response.Redirect("管理页面.aspx")
ElseIf dr.Read Then
Session("姓名") = "textbox1.text"
Response.Redirect("主页.aspx")
Session("姓名") = "bill"
Response.Redirect("管理页面.aspx")
ElseIf dr.Read Then
Session("姓名") = "textbox1.text"
Response.Redirect("主页.aspx")