//------------------Panel1------------------------------------- #region EntryKeyword public void LoadData() { try { DataSet ds = KBLL.LoadInfo(KBLL); gvItem.DataSource = ds.Tables[0]; gvItem.DataBind(); foreach (GridViewRow row in gvItem.Rows) { string Data = row.Cells[7].Text.ToString(); Data = cc.DTGet_Local(Data); row.Cells[7].Text = Data; } GridView1.DataSource = ds.Tables[0]; GridView1.DataBind(); foreach (GridViewRow row in GridView1.Rows) { string Data = row.Cells[5].Text.ToString(); if (Data == "1") { Data = "Myct"; } else if (Data == "2") { Data = "Udisecce"; } else if (Data == "3") { Data = "School"; } else if (Data == "4") { Data = "Android Mobile Apps"; } row.Cells[5].Text = Data; } } catch (Exception ex) { throw ex; } }