Importrow Problem

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.
 
C

Cor Ligthert

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top