By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,573 Members | 1,797 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,573 IT Pros & Developers. It's quick & easy.

XML Loaded Forms

P: n/a
We have several forms we are going to deploy on the web.
Then we want a .net application that will edit,print, etc
the data submitted from the web. What we would like to
do is build the .net windows forms from the xml
documentation including layout and validation. Is anyone
aware of any examples on the web?

Thanks
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi Brian,

I searched with the issue, but not find a proper example. I think you may
first load the XML document, for example:

Dim myXmlDocument as XmlDocument = new XmlDocument()
myXmlDocument.Load ("forms.xml"))

Dim node as XmlNode
node = myXmlDocument.DocumentElement

im node2 As XmlNode

For Each node2 In node.ChildNodes
...

Next

To change current form's layout, you may change it and its control's
property according the values you get from the XML file.

Hope this help,
Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Nov 20 '05 #2

P: n/a
Thanks, I'll give this a shot.
-----Original Message-----
Hi Brian,

I searched with the issue, but not find a proper example. I think you mayfirst load the XML document, for example:

Dim myXmlDocument as XmlDocument = new XmlDocument()
myXmlDocument.Load ("forms.xml"))

Dim node as XmlNode
node = myXmlDocument.DocumentElement

im node2 As XmlNode

For Each node2 In node.ChildNodes
...

Next

To change current form's layout, you may change it and its control'sproperty according the values you get from the XML file.

Hope this help,
Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers norights.)
.

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.