问题一:
2、假定服务器已经安装了SQL Server,有一个名为Sample的数据源,我们现在建立一个数据源连接到这个数据库,使用生成器生成连接字符串的设置如下图:

生成的连接字符串为:
Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Sample;Data Source=.
这个步骤,是必须?生成的连接字符串要放在哪里?还是图上操作即可。
问题二:
web数据源不支持ADO。
问题三
Dim Verified As Boolean
If e.PostValues.ContainsKey("username") AndAlso e.PostValues.ContainsKey("password") Then
'实际开发的时候,请改为根据用户表验证身份
Dim username As String = e.PostValues("username")
Dim password As String = e.PostValues("password")
If username = "张三" AndAlso password = "888" Then
Verified = True
End If
在代码中多处暴露用户,密码,显不安全。