How to read xml-data directly into a formular

  • Thread starter Thread starter Thomas H.
  • Start date Start date
T

Thomas H.

Hi folks,

how can I insert xml data into a dynamically generated webform (Label
and Textbox for inserting and changing data ?

And after that all the data from the form including all changes
should written back to a (new) xml-file.


TIA

Thomas
 
Why don't you use a tree view?
Hi folks,

how can I insert xml data into a dynamically generated webform (Label
and Textbox for inserting and changing data ?

And after that all the data from the form including all changes
should written back to a (new) xml-file.


TIA

Thomas
 
There a two main ways to do this
1. Create ASP.NET controls via their classes then add them to the page by
using the Page.Controls.Add(control) or Similair

2. Insert HTML containing the desription of the parsed XML files into the
page

My prefered Method which is a variation of number 1 is to add a placeholder
<asp:placeholder id="Placeholder1" runat="Server">
then use Placeholder1.Controls.Add(control) to insert this determines
exactly where the controls start and you can add a Literal class if you want
to add specfic HTML like <BR> as a control for more precise control over
layout.
 
Well I havn't worked with that subject before, can you please give me
a hint ?

Thakns a lot

T.H.
 
Back
Top