Create DataRelation ship between two tables

There is a simple demo for DataRelation class of DataSet.

DataRelation test

while u can use DataTable.Select(conditions) or DataView.Filter to filete the data what you want .however,maybe the method is more complex with this one.

你可能感兴趣的:(create)