Click here to Skip to main content
15,891,184 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: reply Pin
salam ellayan2-Jul-08 20:27
salam ellayan2-Jul-08 20:27 
GeneralRe: reply Pin
Dave Kreskowiak3-Jul-08 1:39
mveDave Kreskowiak3-Jul-08 1:39 
GeneralC# Pin
salam ellayan24-Sep-08 22:17
salam ellayan24-Sep-08 22:17 
GeneralRe: C# Pin
Dave Kreskowiak25-Sep-08 1:35
mveDave Kreskowiak25-Sep-08 1:35 
QuestionBurn audio cd and audio wave reader Pin
Indra PR1-Jul-08 19:59
Indra PR1-Jul-08 19:59 
QuestionVB.NET Selecting datatable for Login verification Pin
drexler_kk1-Jul-08 18:10
drexler_kk1-Jul-08 18:10 
AnswerRe: VB.NET Selecting datatable for Login verification Pin
N a v a n e e t h1-Jul-08 19:32
N a v a n e e t h1-Jul-08 19:32 
QuestionRe: VB.NET Selecting datatable for Login verification Pin
drexler_kk1-Jul-08 20:19
drexler_kk1-Jul-08 20:19 
Sorry,can you give me some sample how should I used this DataTable.Select() method?

Hello Navaneeth,
I have try to change it to the following code but it doesn't work.


For i = 0 to DT.Rows(i).Count - 1

  If Test =DT.Select("USERNAME='"& textbox1.text &"'")(i) Then
    If DT.Select("USERPASSWORD='" & textbox2.text &"'")(i) Then
 
      UserloginSuccess = True
      Dim MainForm as new MainForm
      Me.Hide()
      MainForm.Show()
      Exit For
    Else
      Messagebox.show("Sorry,Wrong Password!")
    End If

  Else
    Messagebox.show("Sorry,Username not available on ths system.")
  End If

Next


The code above can't work. Can you tell me how to fixed it?
Besides,what do you mean by do the user verification in the database? You mean directly use a SELECT statement which depend on the username and userpassword from the server to check if the server have the username with the right password??

Thanks for reading everyone,hope to hear from you all again soon.

Regards
Drex
AnswerRe: VB.NET Selecting datatable for Login verification Pin
N a v a n e e t h1-Jul-08 20:49
N a v a n e e t h1-Jul-08 20:49 
JokeRe: VB.NET Selecting datatable for Login verification Pin
drexler_kk1-Jul-08 22:26
drexler_kk1-Jul-08 22:26 
GeneralRe: VB.NET Selecting datatable for Login verification Pin
N a v a n e e t h1-Jul-08 22:43
N a v a n e e t h1-Jul-08 22:43 
AnswerRe: VB.NET Selecting datatable for Login verification Pin
darkelv1-Jul-08 23:46
darkelv1-Jul-08 23:46 
QuestionSetting frame in animated GIF Pin
threemp31-Jul-08 14:01
threemp31-Jul-08 14:01 
AnswerRe: Setting frame in animated GIF Pin
jzonthemtn2-Jul-08 6:05
jzonthemtn2-Jul-08 6:05 
QuestionPassword Decryption Pin
raing31-Jul-08 13:23
raing31-Jul-08 13:23 
AnswerRe: Password Decryption Pin
Christian Graus1-Jul-08 15:56
protectorChristian Graus1-Jul-08 15:56 
GeneralRe: Password Decryption Pin
Paul Conrad1-Jul-08 16:57
professionalPaul Conrad1-Jul-08 16:57 
AnswerRe: Password Decryption Pin
Dave Kreskowiak2-Jul-08 4:14
mveDave Kreskowiak2-Jul-08 4:14 
QuestionI need help with VBA to extract Oracle data to Excel Pin
torgerjl1-Jul-08 12:07
torgerjl1-Jul-08 12:07 
QuestionGet "Created" date from and Access table Pin
chuckf1-Jul-08 9:37
chuckf1-Jul-08 9:37 
AnswerRe: Get "Created" date from and Access table Pin
jzonthemtn1-Jul-08 11:19
jzonthemtn1-Jul-08 11:19 
GeneralRe: Get "Created" date from and Access table Pin
chuckf2-Jul-08 2:19
chuckf2-Jul-08 2:19 
GeneralRe: Get "Created" date from and Access table Pin
jzonthemtn2-Jul-08 5:59
jzonthemtn2-Jul-08 5:59 
QuestionProgress bar help Pin
Cory Kimble1-Jul-08 7:12
Cory Kimble1-Jul-08 7:12 
AnswerRe: Progress bar help Pin
jzonthemtn1-Jul-08 7:52
jzonthemtn1-Jul-08 7:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.