protected void BindSQCCompletedScheduleParameterGrid(int id)
 {
     try
     {
         SqlParameter[] param = new SqlParameter[]
         {
             new SqlParameter("@OPR", "43"),
             new SqlParameter("@TestScheduleDetailId", id)
         };
         DataTable Dt = new DataTable();
         Dt = DBClass.GetDatatable_WithParam(param, "DM_SP_GET_DATA");
         GrdSQCCompletedScheduleStatus.DataSource = Dt;
         GrdSQCCompletedScheduleStatus.DataBind();
     }
     catch (Exception ex)
     {
         _logger.Error(string.Concat("BindSQCCompletedScheduleParameterGrid::", ex.Message), ex);
     }
 }
Ejemplo n.º 2
0
 protected void BindGrdSQCCompletedScheduleStatus()
 {
     try
     {
         SqlParameter[] param = new SqlParameter[]
         {
             new SqlParameter("@OPR", "44"),
             new SqlParameter("@ScheduleTypeId", "3"),
             new SqlParameter("@ShiftCode", lblshift.Text.Trim())
         };
         DataTable Dt = new DataTable();
         Dt = DBClass.GetDatatable_WithParam(param, "DM_SP_GET_DATA");
         GrdSQCCompletedScheduleStatus.DataSource = Dt;
         GrdSQCCompletedScheduleStatus.DataBind();
     }
     catch (Exception ex)
     {
         _logger.Error(string.Concat("BindGrdProcessCompletedScheduleStatus::", ex.Message), ex);
     }
 }