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