LinqDataSource
public IQueryable Records() { var qry=from a in table1 select a; return qry; }
GridView1.DataSource=Records(); GridView1.DataBind();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)