重庆千丁互联招聘:为什么我用这段代码做后台,所有用户都是等录管理界面呢?
来源:百度文库 编辑:中科新闻网 时间:2024/05/14 14:16:34
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")