SelectAllDataset() public method

public SelectAllDataset ( ) : DataSet
return System.Data.DataSet
コード例 #1
0
 protected void LoadDepartments()
 {
     try
     {
         departments.CompanyId = SessionHandler.CurrentCompanyId;
         dsData = departments.SelectAllDataset();
         gvDepartment.DataSource = dsData.Tables[0];
         gvDepartment.DataBind();
     }
     catch (System.Exception)
     {
     }
 }