private void LoadBillList(string SupID) { try { string Status1 = MyCommon.GetSelectedID(cmbStatus, true); int Status = 0; if (Status1 == "") { Status = 0; } else { Status = int.Parse(Status1); } int Supid = int.Parse(SupID); DataTable tb = MyBill.GetBillList(Status, Supid); MyCommon.LoadDatatoTableWithoutBind(dgvBillList, tb, "Load Bill List"); } catch (Exception ex) { } }