I've got a dataset that I've generated automatically through code (i.e. created the tables, columns myself), and I'm trying to bind it to a web datagrid.
In WinForms, this goes off without a hitch, either by supplying the dataset as the source or the datatable in the dataset.
However, in a web datagrid, I get this error:
This exception fires on dgData.DataBind().
Setting the "AutoGenerateColumns" property in the aspataGrid tag to false just causes NOTHING to come up at all.
Anyone know why this is happening? Should I just write a script to manually create the column names?
Thanks in advance.
--NipsMG s-)
In WinForms, this goes off without a hitch, either by supplying the dataset as the source or the datatable in the dataset.
However, in a web datagrid, I get this error:
Code:
DataGrid with id 'dgData' could not automatically generate any columns from the selected data source
This exception fires on dgData.DataBind().
Setting the "AutoGenerateColumns" property in the aspataGrid tag to false just causes NOTHING to come up at all.
Anyone know why this is happening? Should I just write a script to manually create the column names?
Thanks in advance.
--NipsMG s-)