public void loadData() { try { dataGridView1.DataSource = _ObjInvoice.GetCompleteDetailsPurchased(invoiceNumber); } catch (Exception) { throw; } }