Never mind...I figured DataColumn.ColumnMapping = MappingType.Hidden does it.
-----Original Message----- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of kojiishi Sent: Monday, April 15, 2002 12:25 PM To: [EMAIL PROTECTED] Subject: [DOTNET] How can DataSet not to save calculcated columns? I have a typed dataset, generated from XSD. Some of columns in the dataset are calculcated columns; i.e., expressions in Expression property. As I save this dataset to XML, I can see all calculated results are written to the XML. Since they are re-calculated, for the size of XML and time to save/load, I'd like dataset not to save these columns. How can I achieve this? You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.