473,396 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to read xml-data directly into a formular

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
Nov 16 '05 #1
3 1851

Why don't you use a tree view?

Thomas H. wrote:
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



--
An artist is someone who produces things that
people don't need to have but that he - for some
reason - thinks it would be a good idea to give them.
Andy Warhol
Nov 16 '05 #2
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.

"Thomas H." <xx**@hotmail.com> wrote in message
news:6r********************************@4ax.com...
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

Nov 16 '05 #3
Well I havn't worked with that subject before, can you please give me
a hint ?

Thakns a lot

T.H.

On Tue, 04 Jan 2005 15:39:17 -0800, Jeph Axxe <he***@metal.dude>
wrote:

Why don't you use a tree view?

Thomas H. wrote:
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


Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ed | last post by:
Hello, I posted a question about looping with Select in a While loop, a few days ago. Repliers to my post advised me that a Cursor would be much better (thanks all for your replies). I found...
4
by: Bill Cohagan | last post by:
I'm writing a console app in c# and am encountering a strange problem. I'm trying to use redirection of the standard input stream to read input from a (xml) file. The following code snippet is from...
2
by: Mitch | last post by:
I have some simple HTML I'm trying to read with the XMLTextReader. As in the MSDS examples, I set up a loop to read each XML node: while (reader.Read()) { switch (reader.NodeType) { case...
1
by: vkrasner | last post by:
It works with VS2003 and does not in VS2005: in VS2003 : string sMyvalue = ConfigurationSettings.AppSettings; in VS2005 (does not work!!) string sMyvalue = ConfigurationManager.AppSettings; ...
3
by: gn | last post by:
Due to the production servers being a multiple server farm and not being able to write xml files to them, I am having to change my application to write to HttpContext.Current.Application("var") I...
1
by: René Paschold | last post by:
Hello, i write a xml file with following code: Dim xWriter As New XmlTextWriter(SaveFileContent.FileName, _ Encoding.UTF8) With xWriter .Formatting = Formatting.Indented
1
by: David | last post by:
All I am using the code below in order to read an XML file in the format: <root> <selection-attr attr="p70"> <value code="Mr">Mr</value> <value code="Mrs">Mrs</value> <value...
6
by: | last post by:
Hi, I'm steel trying to read and update my XML file with Visual Basic Express but i am unable to find the right way to read my xml file and update it if neccessary... Here is my problem :...
9
by: flebber | last post by:
I was working at creating a simple program that would read the content of a playlist file( in this case *.k3b") and write it out . the compressed "*.k3b" file has two file and the one I was trying...
7
by: =?Utf-8?B?VGFtbXkgTmVqYWRpYW4=?= | last post by:
Hi, I am using visual studio C# window and I have an xml file which I need to read that file using Object Oriented program. What codes I should use in my class to load and read that xml file....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.