i use following code to create this.
Dim tableName(1), queryName(1) As String
tableName(0) = "donation"
queryName(0) = "SELECT top 10 * FROM donation"
tableName(1) = "NorthGangotri"
queryName(1) = "SELECT * FROM NorthGangotri "
For I As Integer = 0 To UBound(tableName)
Dim Adapter As New SqlClient.SqlDataAdapter
Adapter = objclsDataUtility.GetDataAdeptor(queryString(I))
Adapter.Fill(DataSet, tableName(I))
Next
and it works fine. until I use top statement with query(TOP 5 /TOP 10).
but when i remove top statement, it takes very logn time to generate report. i think i did wrong something. Can anyone help me ?