|Looking for existing records vb.net|
i want to search for an existing record before inserting a new one so i wont get double records so i can post a MsgBox saying that "record exists", i have a table named "CLIENT" and my column "Name"
by inserting i declared my code like this:
strsql = "insert into client(Name) values (@field1)"
objcmd = New MySql.Data.MySqlClient.MySqlCommand(strsql, objconn)
any suggestions would be appreciated