How to load from datareader into a grid
Dim helper As AdoHelper
Dim drsql As IDataReader
Dim sconn As String
helper = GetAdoHelper()
sconn = GetConnectionString()
drsql = helper.ExecuteReader(sconn, CommandType.Text, "Select * From Customers")
drsql is a datareader object and now I would like to load its content into a grid.
How can I do that?
thanks cyberhawk...but I am doing this only for a demo
so how to read the content of datareader and populate into datagrid.
any suggestions are very helpful.
thanks