返回首页

大家...我有一个登录表单收集从数据库中的密码... SQL数据库被称为的NumberPlate并表被称为LoginUser ...我还创建了一个非常简单的登记表格只输入旧密码,输入新密码...
我想要做的是从登记表..它应该删除从LoginUser表的旧密码,并把我刚刚进入一个新的密码...

heres the problem...

the database is not deleting the old password and not adding the new one...

 

more details

1) i only having one user

2) i already have a password but i want to replace it

all i have is a 

a) login screen which contains a password text field

b) registration which only has 2 textfields of old password and new password

c) and a form which has nothing to do with users information

 

The user is only meant to log in and thats it... the user has no personel information in the database

IAM真的SRY基因,但我的代码是搞砸了一点点......任何帮助将不胜感激...如果您想了解更多的细节,请你告诉我...我还希望如果你纠正我的代码...

{C});
 0;}
其他
{
  ; MessageBox.Show("Pawwsord不重置")
}
}
& #160; }
}
}

now the error is coming as "connection was not closed. connection state still opened"

 

but what is suppose to happen is tht the LoginUser table should be updated and password is suppose to be the one in TxtPassword

 

thanks both of u...

回答

评论会员: 时间:2