Hi,
The date you put in DataSet is more exactly in DataTable object that belongs of the DataSet. The DataTable objects contains Rows and Columns collections. So,
-every column is represented by a DataColumn object.
- the date you put in the DataTable object is defined by a DataColumn object with values stored in the DataRow objects. If the type of data of the column is System.DateTime then it is keept as DateTime but you will extract it from a DataRow object object using an indexer function and after that various Format functions .
Let be ExpirationDate the name of the column and dr a DataRow object.
object obj = dr["ExpirationDate"] is an Object object that contains the data.
Now, (DateTime)obj.
ToString("yyyy/MM/dd", System.Globalization.DateTimeFormatInfo.InvariantInfo) ;
or another format.
-obislavu-