<connectionStrings>
<add name="ConString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\VS编程\注册登陆\App_Data\Database1.mdb;Persist Security Info=True"/>
</connectionStrings>
这是连接字符串
<add name="ConString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\VS编程\注册登陆\App_Data\Database1.mdb;Persist Security Info=True"/>
</connectionStrings>
这是连接字符串
{
Response.Redirect("个人中心.aspx");
}
这块判断的条件不对吧,OLEDB我没用过,刚查了下MSDN,这个方法的意思是前进到下一条记录,你这样判断有问题的吧
sql="select count(*) rom UserInfo where ID=@id and Password=@pw"