vb.net - entering a serial number into a textbox and displaying a msgbox if the num is already used -


I have a text box, where the user must enter a serial number, I want the system to display the message box To do "number already exists" if the number entered by the user is already in the MySQL table called "customers" in Vb 2010 how do I get it?

Call the process with your code and insert the output into a DataTable . Then you can loop through the values, which you compare to the user and set a matched flag if the value entered corresponds to within DataTable then you have a relevant You want to return the message, possibly using the matching flag within the statement of a if statement as your statement.

Now you have basic steps, I'm pretty sure how you can do all of the above on Google I'm afraid to knock and post someone.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -