G
Guest
Hi,
I use an SqlDataReader to retrieve data and loop through it for a seperate
operation. At the same time I would like to read two of the several fields
into a Datagrid or Datalist. Is this possible with an Add row - Column 1 type
of command?
Or is there a way to bind the SqlDataReader Column 0 and 1.
I've tried binding like this and it does not work
gridview1.datasource = SqlDataReader.getsqlstring(0)
Any help would be great. Thanks
I use an SqlDataReader to retrieve data and loop through it for a seperate
operation. At the same time I would like to read two of the several fields
into a Datagrid or Datalist. Is this possible with an Add row - Column 1 type
of command?
Or is there a way to bind the SqlDataReader Column 0 and 1.
I've tried binding like this and it does not work
gridview1.datasource = SqlDataReader.getsqlstring(0)
Any help would be great. Thanks