
Finding datarowview objects in a dataview
-
[ Team LiB ] Recipe 3.9 Finding Rows in a DataView Problem You need to find a row or group of rows in a DataView meeting certain criteria. Solution Use a sorted DataView to find rows using columns that are not part of the primary key. The sample code contains two event handlers: Form.Load Sets up the sample by creating a DataTable containing the Orders table from the Northwind database. A DataView of the table sorted by the CustomerID and EmployeeID is created. Find Button.Click Uses the FindRows( ) method of the DataView to retrieve the array of DataRowView objects...
4p
luvpro
04-08-2010
122
5
Download
-
Finding DataRowView Objects in a DataView You can find the index of a DataRowView in a DataView using the Find() method of a DataView
5p
daisuphu
29-07-2010
121
8
Download
CHỦ ĐỀ BẠN MUỐN TÌM
