hi guys.
i hav some problem about vb.net
how to check 2 record already exist in database
i use database oracle 10g and vb.net2010
this my coding to check 1 record already exist but i need check 2 in same time
sry my english bad
i hav some problem about vb.net
how to check 2 record already exist in database
i use database oracle 10g and vb.net2010
this my coding to check 1 record already exist but i need check 2 in same time
sry my english bad
Private Function IsIdExist() Dim Str, Str1 As String
Dim i As Integer
Str = txtnik.Text
i = 0
While i <> Dst.Tables("hrd.employee").rows.count
Str1 = Dst.Tables("hrd.employee").Rows(i)("nik")
If Str = Str1 Then
Return True
End If
i += 1
End While
Return False
End Function