相关代码 |
|
Ch15-03-01.aspx SELECT语句字段重新命名 Sub Page_Load(Obj As Object, e As EventArgs) Dim DSN As String, tSQL As String ' 设置使用联机字符串 DSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _ Server.MapPath("/ASP/Chap14/ASP.NET网页数据库.mdb") & ";" ' 设置SQL语句 tSQL = "SELECT UserName As 姓名, EMail As 电子邮件地址," & _ "UserAccount As 登录账号, UserPWD As 密码 FROM UserDatas" ShowResultSet(DSN, tSQL) End Sub
相关资源 |
|