Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TableAdapter Parameters

Status
Not open for further replies.

tsunami100

Programmer
Jan 2, 2005
39
NL
Hi,
I have a TableAdapter i'm trying to fill but it has some parameters.

SELECT CustomerID, CompanyName, Address, City, PostalCode, Phone
FROM Customers where @param1 LIKE @param2

The user can choose in a combobox (@param1) on wich field he can filter the records, the above code doens't seem to be ok.
Any ideas ??
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top