public virtual QuanLyTienLuongDataSet1.bTroCapDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; QuanLyTienLuongDataSet1.bTroCapDataTable dataTable = new QuanLyTienLuongDataSet1.bTroCapDataTable(); this.Adapter.Fill(dataTable); return(dataTable); }
public virtual int Fill(QuanLyTienLuongDataSet1.bTroCapDataTable 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(QuanLyTienLuongDataSet1.bTroCapDataTable dataTable) { return(this.Adapter.Update(dataTable)); }