예제 #1
0
 /// <summary>
 /// Function to fill Datagridview
 /// </summary>
 public void OverDueSalesOrderGridFill()
 {
     try
     {
         ReminderSP spReminder = new ReminderSP();
         if (cmbAccountLeadger.SelectedValue.ToString() != "System.Data.DataRowView" && cmbAccountLeadger.Text != "System.Data.DataRowView")
         {
             decimal decLedgerId = decimal.Parse(cmbAccountLeadger.SelectedValue.ToString());
             dgvOverdueSalesOrder.DataSource = spReminder.OverdueSalesOrderCorrespondingAccountLedger(decLedgerId);
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("ODSO2:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
예제 #2
0
 /// <summary>
 /// Function to fill Datagridview
 /// </summary>
 public void OverDueSalesOrderGridFill()
 {
     try
     {
         ReminderSP spReminder = new ReminderSP();
         if (cmbAccountLeadger.SelectedValue.ToString() != "System.Data.DataRowView" && cmbAccountLeadger.Text != "System.Data.DataRowView")
         {
             decimal decLedgerId = decimal.Parse(cmbAccountLeadger.SelectedValue.ToString());
             dgvOverdueSalesOrder.DataSource = spReminder.OverdueSalesOrderCorrespondingAccountLedger(decLedgerId);
         }
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "ODSO2:" + ex.Message;
     }
 }
 /// <summary>
 /// Function to fill Datagridview
 /// </summary>
 public void OverDueSalesOrderGridFill()
 {
     try
     {
         ReminderSP spReminder = new ReminderSP();
         if (cmbAccountLeadger.SelectedValue.ToString() != "System.Data.DataRowView" && cmbAccountLeadger.Text != "System.Data.DataRowView")
         {
             decimal decLedgerId = decimal.Parse(cmbAccountLeadger.SelectedValue.ToString());
             dgvOverdueSalesOrder.DataSource = spReminder.OverdueSalesOrderCorrespondingAccountLedger(decLedgerId);
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("ODSO2:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }