Example #1
0
        protected void grvHardware_RowDeleting(object sender, GridViewDeleteEventArgs e)
        {
            string strInternalNr = grvHardware.DataKeys[e.RowIndex].Value.ToString();
            var    ShowDetail    = new JSUtility(modalHardware.ClientID);

            ShowDetail.DetailsPopUp(strInternalNr, grvDetail, imgHardware, udpDetailsP, modalTitle);
        }
 protected void details(object sender, EventArgs e)
 {
     try
     {
         mysqlConnectie.Open();
         String strInternalNr = grvHardware.SelectedDataKey["internalNr"].ToString();
         Session["internalNr"] = strInternalNr;
         var hardwareDetail = new JSUtility(modalHardware.ClientID);
         hardwareDetail.DetailsPopUp(strInternalNr, grvDetail, imgHardware, udpDetails, modalTitle);
     }
     catch (MySqlException ex)
     {
         ShowMessage(ex.ToString());
     }
 }