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
Dim settings As ConnectionStringSettings
settings = System.Configuration.ConfigurationManager.ConnectionStrings("")
Dim connectionString As String
connectionString = ""
Dim Dbcon = New SqlConnection(connectionString)
Dim rd As SqlDataReader
Dim cmd = New SqlCommand(queryString, Dbcon)
rd = cmd.ExecuteReader()