Displaying posts tagged with

“DataSet”

Split a DataSet DataTable into more DataTables

for – To split a DataTable into more DataTables you need to process table rows with a loop, you know how many rows you have, so for loop is the choice. Clone – The fastest method to create tables with original columns structure is Clone method. ImportRow – In order to preserve rows states while [...]

.NET 2.0 Serialize and Deserialize Dataset With Row State

Serialize an object is not very difficult, but we have to understand why I decided to implement some features, so my goal is: Simple load and save data on a file Client-Server data communication so I have two thinks to take care: Some field may be DBNull (not null) DataRows have a row state to [...]