public virtual dgpDataSet.tb_gastoDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; dgpDataSet.tb_gastoDataTable dataTable = new dgpDataSet.tb_gastoDataTable(); this.Adapter.Fill(dataTable); return(dataTable); }
public virtual int Fill(dgpDataSet.tb_gastoDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return(returnValue); }
public virtual int Update(dgpDataSet.tb_gastoDataTable dataTable) { return(this.Adapter.Update(dataTable)); }