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

SelectAllDataset() public method

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

Usage Example

 protected void LoadGuestTypes()
 {
     try
     {
         guestType.CompanyId = SessionHandler.CurrentCompanyId;
         dsData = guestType.SelectAllDataset();
         gvGuestTypes.DataSource = dsData.Tables[0];
         gvGuestTypes.DataBind();
     }
     catch (System.Exception)
     {
     }
 }