protected void RadGrid1_NeedDataSource(object sender, GridNeedDataSourceEventArgs e) { var db = new UrbanDataContext(); var manager = new UrbanDataManager(db); RadGrid1.DataSource = (from u in db.User select u).ToList(); }
protected void RadGrid1_NeedDataSource(object sender, GridNeedDataSourceEventArgs e) { var db = new UrbanDataContext(); var manager = new UrbanDataManager(db); RadGrid1.DataSource = (from u in db.User select u).ToList(); }