public DataSet SelectAllDataset() { return (new PaymentTypeDAO()).SelectAll(this); }
protected void LoadPaymentTypes() { try { paymentTypes.CompanyId = SessionHandler.CurrentCompanyId; dsData = paymentTypes.SelectAllDataset(); gvPaymentTypes.DataSource = dsData.Tables[0]; gvPaymentTypes.DataBind(); } catch (System.Exception) { } }