Is there a good way to validate a textbox entry by the user against a dataset?
I.e
Dataset: VENDORS - Cisco, Dell, Microsoft
I would like the string entered in the textbox (txtVendor) to be searched for in the dataset, and if found, thrown an error saying that the Vendor already exists.
I did something similiar with classic asp where i used a stored procedure to return a recordset, and if recordset was not equal to "", throw an error.
I thought that asp.net might have a better solution.
Thanks for the help.
I.e
Dataset: VENDORS - Cisco, Dell, Microsoft
I would like the string entered in the textbox (txtVendor) to be searched for in the dataset, and if found, thrown an error saying that the Vendor already exists.
I did something similiar with classic asp where i used a stored procedure to return a recordset, and if recordset was not equal to "", throw an error.
I thought that asp.net might have a better solution.
Thanks for the help.