G
Guest
Hello,
I am pulling master data from one master table and detail data from two
detail tables. The rows from the master data are displayed in textboxes on
my form which are bound to the data with databinding. The data from the 2
detail tables are displayed in 2 datagridviews. I filter each datagridview
with a Dataview object using the dataview.Rowfilter property. This is sort
of working except that I am getting an except on one of my detail tables
(used to be no exceptions until I converted the detail tables into views on
the sql server - to simplify select command sql). So I was reading up on the
DataRelations object.
Before I knock myself out changing all my client code, can I achieve the
same row filtering functionality by using DataRelations instead of
Dataview.Rowfilter for the datagridviews? According to the reading, I
interpreted the reading to suggest that DataRelations are more efficient -
but the only specified that it was more efficient than using a join statement
in the select command. Any suggestions appreciated on if I should use a
DataRelation vs Dataview.Rowfilter.
Thanks,
Rich
I am pulling master data from one master table and detail data from two
detail tables. The rows from the master data are displayed in textboxes on
my form which are bound to the data with databinding. The data from the 2
detail tables are displayed in 2 datagridviews. I filter each datagridview
with a Dataview object using the dataview.Rowfilter property. This is sort
of working except that I am getting an except on one of my detail tables
(used to be no exceptions until I converted the detail tables into views on
the sql server - to simplify select command sql). So I was reading up on the
DataRelations object.
Before I knock myself out changing all my client code, can I achieve the
same row filtering functionality by using DataRelations instead of
Dataview.Rowfilter for the datagridviews? According to the reading, I
interpreted the reading to suggest that DataRelations are more efficient -
but the only specified that it was more efficient than using a join statement
in the select command. Any suggestions appreciated on if I should use a
DataRelation vs Dataview.Rowfilter.
Thanks,
Rich