コード例 #1
0
ファイル: STUDEN~1.CS プロジェクト: Godwin88/Godwin
 public virtual studentdbDataSet.studentDataTable GetData()
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     studentdbDataSet.studentDataTable dataTable = new studentdbDataSet.studentDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
コード例 #2
0
ファイル: STUDEN~1.CS プロジェクト: Godwin88/Godwin
        public virtual int Fill(studentdbDataSet.studentDataTable dataTable)
        {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true))
            {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);

            return(returnValue);
        }