Repost: Merging external data with html (not dotnet) form

J

Jim Adams

My ASP.Net (VB.Net) app needs to display a filled in form to a web
user from the following:

a) read HTML form files (not ascx) dynamically from disk (e.g.
form.html)
b) read its corresponding submitted values from disk (e.g. form.xml)

The form data should be merged back into the HTML form so that when
displayed to the user, the form looks exactly like it did the moment
before
they clicked the form's Submit button.

Any ideas on an approach would be great appreciated.

(I've received some input about how to do it by converting forms into
ascx and programmatically stepping through the controls collection,
but unfortunately, in this case, forms will be standard HTML and not
..Net.

Thanks for any insights!

Jim
 
G

Guest

Hi
I guess you will have to use regular expressions to parse the html file
and then replace the data in html with appropriate data from xml. And then
you can render this html on the browser.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top