I have a dataset that I'd like to take the first 10 rows from, and then bind them to my grid. Here's what I have:
I'm getting a "Cannot find any bindable properties in an item from the datasource"
DataTable dt =
new
DataTable();
for
(
int
i = 0; i < 10; i++)
{
dt.ImportRow(ds.Tables[0].Rows[i]);
dt.AcceptChanges();
}
rgPreview.DataSource = dt;
I'm getting a "