Hi all -
I'm trying to bind a gridview to a linq to sql query that's using a stored procedure. When I run the page, i get the following error:
Data source is an invalid type. It must be either an IListSource, IEnumerable, or IDataSource.
var db = new TableItemDataContext();
var q = db.sp_SearchForItems("1","2","3","4");
GridView1.DataSource = q;
GridView1.DataBind();
Any Ideas?