/// <summary> /// Code to fetch supplier list from database and bind to grid control /// </summary> public void BindSupplierData() { try { ObjESupplier = ObjBSupplier.GetSuppliersForProposal(ObjESupplier); if (ObjESupplier.dtSupplierForproposal != null) { gcSupplier.DataSource = ObjESupplier.dtSupplierForproposal; gvSupplier.BestFitColumns(); } } catch (Exception ex) { throw; } }