DataTable & DataSet - Definition,Features,Properties - ADO.NET

Q.  Which of the following is true?
- Published on 19 Oct 15

a. DataTable object contain DataRow and DataColoumn objects
b. DataSet and DataTable can be binary serialized
c. DataSet and DataTable can be XML serialized
d. All of the above

ANSWER: All of the above
 
A DataTable is an in-memory representation of a single database table that contains DataRow and DataColoumn objects.
Serialization is the process of converting an object into a stream of bytes so you can store or transmit the object. Only those objects can be serialized those have SerializableAttribute.
There are two types of serialization binary and XML serialization.

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)