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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pass a parameter to aquerry in VB.net

Status
Not open for further replies.

KiaKia

Programmer
Mar 30, 2008
59
US
Hi everyone,
Please let me know how I can pass a parameter to the query of a table adaptor.

Thanks,
Kia

 
Kia:

What do you have thus far?

Hint: The people here are great, but they need to see what you are doing to help you.

Ron Repp

If gray hair is a sign of wisdom, then I'm a genius.

My newest novel: Wooden Warriors
 

Add a paramaterized query to the table adapter and call it like:

tablaeadapter.fillby(dataset.table, paramaterValue)
or
tablaeadapter.fillby(dataset.table, paramaterValue1, paramaterValue2...)

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top