1
我有一个登录问题...好吧,让我解释你我的问题,问题是,我想创建一个限制登录,我有一些文本框的绑定源属性更改为我的数据库。但是,当我输入的东西是不是在数据库中的程序得到了冻结,我会后我的代码,希望你能帮助我(=问题登录vb.Net?
Private Sub KryptonButton1_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs)
Handles KryptonButton1.Click
If txtUser.Text <> UserTextBox.Text Then
While txtUser.Text <> UserTextBox.Text
Me.UsuarioContraseñaBindingSource.MoveNext()
End While
If txtUser.Text = UserTextBox.Text Then
KryptonMessageBox.Show("Welcome")
Else
KryptonMessageBox.Show("Error")
End If
End If
End Sub
因此...你墨水我可以使用退出时,并把和如果?你认为它工作? – DFabeiro 2012-07-25 16:16:56