public StudentDS.EXAMSDataTable ExamTable() { SelectAll(dataSet.EXAMS); //This method fills the EXAMS table in dataset. return dataSet.EXAMS; }
[WebMethod(Description = "Returns EXAMS datatable")] public StudentDS.EXAMSDataTable WsExamTable() { StudentDS.EXAMSDataTable dt = myDataAccess.ExamTable(); //Returns filled Exam table from Data Access Layer return dt; //NOTE : The table is filled at this stage }
private void btFill_Click(object sender, EventArgs e) { dataGridView1.DataSource = myService.WsExamTable(); //NOTE : The table comes EMPTY from Service Layer at this stage }
DataTable dt = myDataAccess.ExamTable(); XmlDocument XMLDoc = new XmlDocument(); XMLDoc.LoadXml(table.DataSet.GetXml());
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)