SelectAllDataset() 공개 메소드

public SelectAllDataset ( ) : DataSet
리턴 System.Data.DataSet
예제 #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)
     {
     }
 }