SelectAllDataset() public méthode

public SelectAllDataset ( ) : DataSet
Résultat System.Data.DataSet
Exemple #1
0
 protected void LoadBedTypes()
 {
     try
     {
         bedType.CompanyId     = SessionHandler.CurrentCompanyId;
         dsData                = bedType.SelectAllDataset();
         gvBedTypes.DataSource = dsData.Tables[0];
         gvBedTypes.DataBind();
     }
     catch (System.Exception)
     {
     }
 }
 protected void LoadBedType()
 {
     try
     {
         bedTypes.CompanyId             = SessionHandler.CurrentCompanyId;
         dsBedTypes                     = bedTypes.SelectAllDataset();
         dsBedTypes.Tables[0].TableName = "BedType";
         ((GridViewDataComboBoxColumn)gvRooms.Columns["BedTypeId"]).PropertiesComboBox.DataSource = dsBedTypes.Tables[0];
     }
     catch (System.Exception)
     {
     }
 }