
July 28th, 2007, 08:06 AM
|
|
Registered User
|
|
Join Date: Jul 2007
Posts: 5
Time spent in forums: 48 m 59 sec
Reputation Power: 0
|
|
|
Retrieve Data
Hello,
In VB. Net application, I have DataSet, a DataGrid that has its BindingSource. By Default, it shows all reords. It is a Search page & their are 5 search criterias. User may select any or all search criterias & based on that, I got to show the result. I have retrived the selection dane by user & created a SQL query for that.
My point is how do I run a query. It should be based on BindingSource or General DataApater/DataSource. If I make a Query in the Dataset, as the criterias r not fixed (it may be from 1-5), so that is alos not possible. What is the best way to run the query, get results & display back on Data Grid.
I would appreciate Help from you experts. Any help is appreciated.
Thanks
|