We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Preserving data types after reading in from an xml file

Thread ID:

Created:

Updated:

Platform:

Replies:

15604 Jun 23,2004 11:39 AM UTC Jun 23,2004 12:41 PM UTC Windows Forms 1
loading
Tags: GridControl
Clario Menezes
Asked On June 23, 2004 11:39 AM UTC

Hi, Suppose I have the following XML file: ... (more ''s) Is there any way for me to load the data from this file into a grid but have each column in the grid bound to the data typ specified in the file using C#? For instance, in the above example, after loading the XML file, my grid should have 3 columns (A, B, and C), where column A has data type "string", B has "int", and C has "float". Thanks, Clario

Administrator [Syncfusion]
Replied On June 23, 2004 12:41 PM UTC

Your xml did not make it to the forum post. But you can dynamically set Types at runtime using ITypedList. Here is a forum thread that has a sample. It does not use XML, but it does dynamcally set types at runtime. Maybe you can do something similar. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=15207

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;