You can search MSDN for a working solution using XML Data Islands. Below is a block of code that shows how to
bind controls to an island. You could easily expand on this to familiarize yourself with this technique. Note that as
you add new meeting nodes new controls will be generated without you having to create them manually. Cut and
paste this code into an ASP or ASPX file.
<?xml version="1.0" ?>
<table datasrc="#xmlMeetings" ID="Table1">
<td><input type=text id="date" datafld="date"></td>
<td><input type=text id="time" datafld="time"></td>
<td><input type=text id="location" datafld="location"></td>
I hope this helps.
This posting is provided "AS IS" with no warranties, and confers no rights.
Subject: Re: Controlling when commit is performed in ASP.NET pages?
Date: Tue, 12 Feb 2002 19:10:51 +0100
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: h213-7-122.to.genie.it 18.104.22.168
Xref: cpmsftngxa08 microsoft.public.dotnet.framework.aspnet:34511
I read the XML Data-Island article.
Ok, I can pass an XML file from the server to the client togheter with any
other additional HTML tag...
Now if I catched up correctly your suggestion you are saying that using XML
Data Island I could send to the client
one ore more dataset... then I could work directly on them and after my job
is completed, I could pass back the resulting XML to the server..
sources (to manipulate locally the XML file, sort, search etc..)
or it is "easily" feasible to stick to services on the server and leave as
much as possible the client "thin"?
Is it possible to pass to the server just modified XML records?
What about the .NET controls? are they designed for such approach?
I mean... Datagrids.. Datalists, and all other bindable controls would
complicate my life when using XML Data Island or they can easily work
Last.... is there any good example of a working solution using XML Data
**** ALEX ****
> Heloo Alessandro,
> I believe that best way to go about this would be to use a XML Data-Isand.
Below is a link to an MSDN article which describes XML Data-
Quote:> Islands and how to embed them in HTML pages. Let me know if you need any
> Hope This Helps,
> This posting is provided "AS IS" with no warranties, and confers no
> Subject: Controlling when commit is performed in ASP.NET pages?
> Date: Sun, 10 Feb 2002 22:57:14 +0100
> Lines: 24
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
> Newsgroups: microsoft.public.dotnet.framework.aspnet
> NNTP-Posting-Host: h213-7-218.to.genie.it 22.214.171.124
> Path: cpmsftngxa07!tkmsftngp01!tkmsftngp04
> Xref: cpmsftngxa07 microsoft.public.dotnet.framework.aspnet:33949
> X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> What is the best technique, if any, to control when the commit is carried
> out when using a WebForm connected to a dataset?
> I mean:
> Normally I create a dataset, perform my job and close the dataset thus I
> have either commited or rollbacked the modification depending
> on the rules..
> What about if I want to let the user perform many modifications but I
> want those changes to be permanent until he saves?
> Many changes means that I want the user to be able to insert records, make
> updates, deletes some other records.. and probably those
> changes are span through multiple webforms...
> For what is in my knowledge, I cannot cache the datasets to the client...
> (is that possible when using a browser as your target?).
> Shall I keep a copy on the server of the datasets modified between
> roundtrips for each client? (agh...)
> **** ALEX ****