Posts

Showing posts with the label Binding list to multiple Grids using Camel Querry

Binding list to multiple Grids using Camel Querry

private void GetSmartTools()         {             using (SPSite site = new SPSite(SPContext.Current.Web.Url))             {                 using (SPWeb web = site.OpenWeb())                 {                     SPList list = web.Lists.TryGetList("Smart Tools");                     if (list != null)                     {                         SPQuery query = new SPQuery();                         string stringQuery = string.Format(@"<Where><Eq><FieldRef Name='Country' /><Value Type='LookUp'>{0}</Value></Eq></W...