G
Guest
I need the code to read from a stored procedure not a table. I put the name
of the stored procedure where the table name "customer" is but error occurred.
int numCols = _dataSet.Tables["customers"].Columns.Count;
aColumnTextColumn.HeaderText =
_dataSet.Tables["customers"].Columns.ColumnName;
aColumnTextColumn.MappingName =
_dataSet.Tables["customers"].Columns.ColumnName;
of the stored procedure where the table name "customer" is but error occurred.
int numCols = _dataSet.Tables["customers"].Columns.Count;
aColumnTextColumn.HeaderText =
_dataSet.Tables["customers"].Columns.ColumnName;
aColumnTextColumn.MappingName =
_dataSet.Tables["customers"].Columns.ColumnName;