Beispiel #1
0
        public void ReadDataBase(object rowData)
        {
            studentDataTable temp = model.Read();

            StudentTable.Clear();

            foreach (studentRow row in temp)
            {
                StudentTable.ImportRow(row);
            }
        }
Beispiel #2
0
        public void DeleteDataBase(object rowData)
        {
            DataRowView      rowView = rowData as DataRowView;
            studentDataTable temp    = model.Delete(rowView);

            StudentTable.Clear();

            foreach (studentRow row in temp)
            {
                StudentTable.ImportRow(row);
            }
        }