I'm not really sure what your requirement is. Please could you expand on what you wish to do, including any supporting code and screenshots that may help.
thanks
Richard
Hi Rechard,
As you see I wana use in each tap separate grid view, each one should have different query however my bind method is running only one query in two grid
How can I make it more flexible and running in each tap?
thanks in advance
Function BindGrid2(ByVal queryString As String) As DataSet
You can bind more than one grid to the same data source if that's what you mean. Or you could pass in the grid that you wish to bind to your method, or better still give the querystring, and pass back a data source which would make it more generic.
I hope that helps, but let me know if you need more information
Richard