HBM.GeneralManagement.TaxType.SelectAllDataset C# (CSharp) Method

SelectAllDataset() public method

public SelectAllDataset ( ) : DataSet
return System.Data.DataSet
        public DataSet SelectAllDataset()
        {
            return (new TaxTypeDAO()).SelectAll(this);
        }

Usage Example

Example #1
0
 protected void LoadTaxTypes()
 {
     try
     {
         taxType.CompanyId     = SessionHandler.CurrentCompanyId;
         dsData                = taxType.SelectAllDataset();
         gvTaxTypes.DataSource = dsData.Tables[0];
         gvTaxTypes.DataBind();
     }
     catch (System.Exception)
     {
     }
 }