I'm trying to bind data in a dataset (obtained from an Access DB) to a
listbox in ASP.net. I know my dataset is being created properly because
it displays fine in a datagrid, but I can't get it to display in a
listbox. Here's what I'm trying:
dgrDataGrid.Dat aSource = dstData.Tables( "Manufactur er")
lstMake.datasou rce = dstData.Tables( "Manufactur er")
Page.DataBind
There is only one column in the dataset's table, and the datagrid
displays it the way I want. But my listbox just repeats the line
"system.data.da tarowview" over and over.
Any help is, as usual, appreciated.
listbox in ASP.net. I know my dataset is being created properly because
it displays fine in a datagrid, but I can't get it to display in a
listbox. Here's what I'm trying:
dgrDataGrid.Dat aSource = dstData.Tables( "Manufactur er")
lstMake.datasou rce = dstData.Tables( "Manufactur er")
Page.DataBind
There is only one column in the dataset's table, and the datagrid
displays it the way I want. But my listbox just repeats the line
"system.data.da tarowview" over and over.
Any help is, as usual, appreciated.
Comment