You have a DataSet object named customersDataSet that contains a DataTable object named Customers. Customers retrieves information from a Microsoft SQL Server database. Customers contains a column named Region. You want to create a DataView object named customersDataView that contains only customers in which the value in the Region column is France.
Which code segment should you use?
A.
DataView customersDataView = new
DataView(customersDataSet.Tables[“Customers”]);
customersDataView.FindRows(“Region = France”);
B.
DataView customersDataView = new
DataView(customersDataSet.Tables[“Customers”]);
customersDataView.FindRows(“Region = ‘France'”);
C.
DataView customersDataView = new
DataView(customersDataSet.Tables[“Customers”]);
customersDataView.RowFilter = (“Region = France”);
D.
DataView customersDataView = new
DataView(customersDataSet.Tables[“Customers”]);
customersDataView.RowFilter = (“Region = ‘France'”);