protected void Page_Init(object sender, EventArgs e) { DynamicDataManager1.RegisterControl(GridView1, true /*setSelectionFromUrl*/); _linqInterceptor = new LinqInterceptor<AdventureWorksLTDataContext>(GridDataSource, GridDataSource.GetTable().EntityType); }
protected void Page_Init(object sender, EventArgs e) { DynamicDataManager1.RegisterControl(DetailsView1); _linqInterceptor = new LinqInterceptor<AdventureWorksLTDataContext>(DetailsDataSource, DetailsDataSource.GetTable().EntityType); }