/// <summary>
 /// Function to fill the VoucherTypeCombobox
 /// </summary>
 public void VoucherTypeComboFill()
 {
     try
     {
         string typeOfVoucher = string.Empty;
         typeOfVoucher = "Sales Quotation";
         List<DataTable> ListObj = new List<DataTable>();
         SalesOrderBll bllSalesOrder = new SalesOrderBll();
         ListObj = bllSalesOrder.VoucherTypesBasedOnTypeOfVouchers(typeOfVoucher);
         DataRow dr = ListObj[0].NewRow();
         dr["voucherTypeId"] = 0;
         dr["voucherTypeName"] = "NA";
         ListObj[0].Rows.InsertAt(dr, 0);
         cmbType.DataSource = ListObj[0];
         cmbType.ValueMember = "voucherTypeId";
         cmbType.DisplayMember = "voucherTypeName";
     }
     catch (Exception ex)
     {
         MessageBox.Show("SO7" + ex.Message, "Open Miracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }