//protected void GrdViewItems_SelectedIndexChanged(object sender, EventArgs e) //{ //} //protected void GrdViewPurchase_RowDeleting(object sender, GridViewDeleteEventArgs e) //{ //} protected void lnkBtnAdd_Click(object sender, EventArgs e) { try { ModalPopupLock.Show(); DataSet ds = new DataSet(); string connection = string.Empty; string userid = string.Empty; if (Request.Cookies["Company"] != null) { connection = Request.Cookies["Company"].Value; } if (Request.QueryString["ID"] != null) { userid = Request.QueryString["ID"].ToString(); } BusinessLogic objBus = new BusinessLogic(); ds = objBus.GetMasterRoles(System.Configuration.ConfigurationManager.ConnectionStrings[connection].ConnectionString); GrdViewItems.DataSource = ds; GrdViewItems.DataBind(); } catch (Exception ex) { TroyLiteExceptionManager.HandleException(ex); } }