Use Textbox1 to search SQL table for presence of a value, then populate Textbox2 with the value if it exists?
Posted on 2007-04-02
I have two textboxes on an asp.net form. The user enters a name into TextBox1 and then clicks a button. An SQL database called 'members' has a table called 'names', and a column called 'name'....the user requested name from the SQL table will then populate textbox 2... if nothing matches, a message box comes up and says 'name not found'.