J
jaYPee
I have already done some code to fill the datagrid. my problem is that
the fill method is too slow after executing my code.
here is the scenario.
i have a parent/child form. all is datagrid. one datagrid is a parent
and the other is a child. now when i finish encoding data from the
first datagrid (which is the parent) i have to click the check box
button on that grid and fill the 2nd grid w/ the data from the other
table base on the criteria on the first table. i'm using stored
procedure to insert data. but the problem is when i reload the dataset
using the fill method the execution is too slow.
here is my code.
DsStudentCourse1.Tables("SchYrSemCourseJoin").Clear()
SqlDataAdapter3.Fill(DsStudentCourse1) 'this code makes the
execution slow
this code will clear the data first then fill again so that the newly
inserted record will be refresh.
my question is on how can i speed loading a data on my datagrid.
the fill method is too slow after executing my code.
here is the scenario.
i have a parent/child form. all is datagrid. one datagrid is a parent
and the other is a child. now when i finish encoding data from the
first datagrid (which is the parent) i have to click the check box
button on that grid and fill the 2nd grid w/ the data from the other
table base on the criteria on the first table. i'm using stored
procedure to insert data. but the problem is when i reload the dataset
using the fill method the execution is too slow.
here is my code.
DsStudentCourse1.Tables("SchYrSemCourseJoin").Clear()
SqlDataAdapter3.Fill(DsStudentCourse1) 'this code makes the
execution slow
this code will clear the data first then fill again so that the newly
inserted record will be refresh.
my question is on how can i speed loading a data on my datagrid.