I have a couple Typed Views that, when I try to databind them to a datagrid in asp.net, I get the following error:
An invalid data source is being used for DataGrid1. A valid data source must implement either IListSource or IEnumerable.
I'm basically doing this:
DataGrid1.DataSource = newTypedView.Fill();
DataGrid1.DataBind();
Note: names changed for posting online.
Is there a way to databind a typed view to a datagrid in asp.net?