public virtual DocumentsBetta2DataSet.typeorgsDataTable GetDataByID(int id) { this.Adapter.SelectCommand = this.CommandCollection[1]; this.Adapter.SelectCommand.Parameters[0].Value = ((int)(id)); DocumentsBetta2DataSet.typeorgsDataTable dataTable = new DocumentsBetta2DataSet.typeorgsDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual DocumentsBetta2DataSet.typeorgsDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DocumentsBetta2DataSet.typeorgsDataTable dataTable = new DocumentsBetta2DataSet.typeorgsDataTable(); this.Adapter.Fill(dataTable); return dataTable; }