void funSetGrid() { try { CtlGrid.Cols = 4; CtlGrid.Columns[0].Header = "CallingList ID"; CtlGrid.Columns[1].Header = "CallingList Name"; CtlGrid.Columns[2].Header = "IsActive"; CtlGrid.Columns[2].IsIcon = true; CtlGrid.Columns[3].Header = "IsDNCList"; //CtlGrid.Columns[4].Header = "CreatedDate"; //CtlGrid.Columns[5].Header = "CreatedBy"; //CtlGrid.Columns[6].Header = "ModifiedDate"; //CtlGrid.Columns[7].Header = "ModifeiedBy"; CtlGrid.Columns[0].BindTo("ID"); CtlGrid.Columns[1].BindTo("ListName"); CtlGrid.Columns[2].BindTo("IsActive"); CtlGrid.Columns[3].BindTo("IsDNCList"); //CtlGrid.Columns[4].BindTo("CreatedDate"); //CtlGrid.Columns[5].BindTo("CreatedBy"); //CtlGrid.Columns[6].BindTo("ModifiedDate"); //CtlGrid.Columns[7].BindTo("ModifiedBy"); objCallCollection = ClsCallingListCollection.GetAll(); CtlGrid.Bind(objCallCollection); } catch (Exception ex) { VMuktiHelper.ExceptionHandler(ex, "funSetGrid", "ctlCalllingList.xaml.cs"); } }