• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 172
  • Last Modified:

Dynamically editable webpage with source in XML

I am trying to build a web page in VB.net (.net 2.0) that basically is to have following structure:

Name                     Task
James                    Deliver Package           <edit>
Rob                        Finalize Accounts        <edit>
Jim                         Contact client               <edit>

of the above Name information is constant only associated tasks will change, which I plan to do type out. I am trying to have a mechanism in which I am able to edit the tasks in real time. Something like, when I click on edit I am able to modify the task against a particular name and if some other person who opens the page is able to see the changes I have made in tasks and also modify tasks. I have been thinking, of storing it in XML something like following and accessing it to display in the page as well.

<?xml version="1.0" encoding="UTF-8"?>
<TaskList>
  <TaskPair>
  <Name>Jon</Name>
  <Task>Deliver Package</Task>
  </TaskPair>
  <TaskPair>
  <Name>Rob</Name>
  <Task>Finalize Accounts</Task>
  </TaskPair>
    <TaskPair>
  <Name>Bill</Name>
  <Task>Call Client</Task>
  </TaskPair>
</TaskList>

The number of TaskPair's that will exist will be 5 so basically I will not have more than 5 names and 5 tasks at any time. I am trying to do this VB.net. Please help as on how to go about it. Any code is more than welcome on this.

Thanks      
0
LordSM
Asked:
LordSM
  • 3
  • 2
1 Solution
 
Bob LearnedCommented:
What kind of help are you looking for?  

Bob
0
 
LordSMAuthor Commented:
I think, it can be done with XSLT Processing. I wanted to know, what should have been used to do the above mentioned task
0
 
Bob LearnedCommented:
While XSLT can transform XML, is that what you want to do (convert XML to HTML)?

You could have a GridView that displays data from an XmlDataSource.

Bob
0
 
LordSMAuthor Commented:
I want something like an editable page, which I can access via server. What I am trying to do here is that the page will display something like:

Name    Task

Ben       Pickup      <Edit>
Jim        Delivery    <Edit>
Ted       Call            <Edit Link>


And some one can click on the edit link and change values in Name or Task Column and everyone who is accessing the page should be able to see the change and modify if s/he wants.

Please suggest, how to approach this..

Thanks
0
 
Bob LearnedCommented:
You could have a GridView that displays data from an XmlDataSource.

Bob
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now