Importrow Problem

  • Thread starter Thread starter jaYPee
  • Start date Start date
J

jaYPee

I'm wondering how to use the importrow so that the record from other
datatable will be imported to other datatable.

here's my datatable and dataview

Private dtStudents As DataTable
Private dtSchYrSem As DataTable
Private dtSchYrSemCourse As DataTable
Private dtCourse As DataTable
Private dvSchYrSem As DataView
Private dvSchYrSemCourse As DataView
Private dvCourse As DataView

some of my code:

dtStudents = DsStudentCourse1.Tables("Students")
dtSchYrSem = DsStudentCourse1.Tables("SchYrSem")
dtSchYrSemCourse =
DsStudentCourse1.Tables("SchYrSemCourseJoin")
dtCourse = DsStudentCourse1.Tables("Course")

dvSchYrSem = dtSchYrSem.DefaultView
dvSchYrSemCourse = dtSchYrSemCourse.DefaultView
dvCourse = dtCourse.DefaultView

the datasource of my datagrid2 is:

..DataSource = dvSchYrSemCourse

my problem is on how can I import the data from dtCourse to this
datagrid2 based on the criteria.
 
jaYpee,

Will you be so kind not to start a new message with problems, where you tell
that you found the problem, leaving this open, the least you can do is add a
message to this question, telling that you started a new question about this
problem.

Thanks in advance,

Cor
 
Back
Top