cmd.ExecuteReader()调用问题?调不出来
这是后台代码文件:show.aspx.vbDim rd As SqlDataReader = cmd.ExecuteReader()
Dim QQ As Int32
Dim mail As String
Dim name As String
Dim text As String
Dim ip As String
Dim datetime As Date
If (rd.Read()) Then
QQ = rd.GetInt32("QQ") //这里的QQ是数据库里的字段
mail = rd.GetString("[E_Mail]")
name = rd.GetString("name")
text = rd.GetString("text")
ip = rd.GetString("IP")
datetime = rd.GetDateTime("A_Time")
End If
这是前台的:show.aspx
<%=QQ%>,<%=mail%>,............................<%=datetime%>
我运行时前台的文件提示我
QQ,mial,name,text,ip,datetime..没有定义呢,
??是不是不能这样调用啊,??
[此贴子已经被作者于2006-8-14 12:49:52编辑过]