A
atif
hi i hav a prob with data reader. i hav a 2 column in a data table n i
hav 2 drop down lists on my page. Now i want to connect my first drop
down with the first column of the data table. Though i got the result
frm the following code
dim ee as System.Data.IDataReader = returnCategory()
dropdownlist1.DataSource = ee
dropdownlist1.DataBind()
returnCategory() return all the records of firstColumn
but the problem is i was expecting that the drop down list will be
filled with column values but it is filled with
"System.Data.Command.DbDataRecord" though the number of the records
return r correct.
hav 2 drop down lists on my page. Now i want to connect my first drop
down with the first column of the data table. Though i got the result
frm the following code
dim ee as System.Data.IDataReader = returnCategory()
dropdownlist1.DataSource = ee
dropdownlist1.DataBind()
returnCategory() return all the records of firstColumn
but the problem is i was expecting that the drop down list will be
filled with column values but it is filled with
"System.Data.Command.DbDataRecord" though the number of the records
return r correct.