M
Michael Hamrah
I need to make design choice whether or not to use a dataset to pull a table
and two subtables into a form which has a main grid, a sub grid, and some
editable textboxes. Or I could use a dataset to fill in just the main grid
and during a rowchanged event fill in the sub grid and textboxes. Of
course, using a dataset for everything would be easier, but what is the
performance cost if I'm returning a hundred rows? A thousand? What
arguments are there for using the dataset for everything vs. a dataset for
the master grid and individual select statements on a primary key to
retrieve just the current row?
Thanks in advance,
Mike
and two subtables into a form which has a main grid, a sub grid, and some
editable textboxes. Or I could use a dataset to fill in just the main grid
and during a rowchanged event fill in the sub grid and textboxes. Of
course, using a dataset for everything would be easier, but what is the
performance cost if I'm returning a hundred rows? A thousand? What
arguments are there for using the dataset for everything vs. a dataset for
the master grid and individual select statements on a primary key to
retrieve just the current row?
Thanks in advance,
Mike