public virtual labtechDataSet.computersDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; labtechDataSet.computersDataTable _computersDataTable = new labtechDataSet.computersDataTable(); this.Adapter.Fill(_computersDataTable); return(_computersDataTable); }
public virtual int Fill(labtechDataSet.computersDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if (this.ClearBeforeFill) { dataTable.Clear(); } return(this.Adapter.Fill(dataTable)); }