阿马加龙图片:为什么我用这段代码做后台,所有用户都是等录管理界面呢?
来源:百度文库 编辑:高考问答 时间:2024/05/03 05:56:24
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")