private List <AccountdGroup> GetSelectedItem() { List <AccountdGroup> items = new List <AccountdGroup>(); AccountdGroup itm = new AccountdGroup(); itm.GroupName = DG.CurrentRow.Cells[0].Value.ToString(); items.Add(itm); return(items); }
private List <AccountdGroup> GetSelectedItem() { List <AccountdGroup> items = new List <AccountdGroup>(); AccountdGroup itm = new AccountdGroup(); itm.strMonthID = DG.CurrentRow.Cells[0].Value.ToString(); itm.strFromdate = DG.CurrentRow.Cells[1].Value.ToString(); itm.strTodate = DG.CurrentRow.Cells[2].Value.ToString(); itm.strStstus = DG.CurrentRow.Cells[3].Value.ToString(); items.Add(itm); return(items); }
private List <AccountdGroup> GetSelectedItem() { List <AccountdGroup> items = new List <AccountdGroup>(); AccountdGroup itm = new AccountdGroup(); itm.lngSlNo = Convert.ToInt64(DG.CurrentRow.Cells[0].Value.ToString()); itm.intPrimaryType = Convert.ToInt32(DG.CurrentRow.Cells[1].Value.ToString()); itm.lngGrLevel = Convert.ToInt32(DG.CurrentRow.Cells[2].Value.ToString()); itm.intCashFlowType = Convert.ToInt32(DG.CurrentRow.Cells[3].Value.ToString()); itm.GroupName = DG.CurrentRow.Cells[4].Value.ToString(); itm.ParentName = DG.CurrentRow.Cells[5].Value.ToString(); itm.strMobileNo = DG.CurrentRow.Cells[11].Value.ToString(); itm.strContactNo = DG.CurrentRow.Cells[12].Value.ToString(); itm.intMode = Convert.ToInt32(DG.CurrentRow.Cells[13].Value.ToString()); items.Add(itm); return(items); }