Already to you, use LINQ to XML.
On Sun, Nov 23, 2008 at 9:40 PM, jemo <[EMAIL PROTECTED]> wrote:

>
> Cerebrus wrote:
> > Forgot to mention one thing - If you are using an XmlDataSource, you
> > will pretty much have to manually code all the update code. XmlDS is
> > read-only.
> >
> > On Nov 19, 9:55 pm, Cerebrus <[EMAIL PROTECTED]> wrote:
> > > 1. Handle the SelectedIndexChanged event of the TreeView to find out
> > > the node that's currently being edited.
> > > 2. Link your TreeView Datasource to a FormView/DetailsView that shows
> > > the currently selected record in edit mode.
> > > 3. The update handler for the FormView/DetailsView will have to update
> > > the physical XML file and then you can rebind the TreeView control.
> > >
> > > On Nov 18, 10:10 am, jemo <[EMAIL PROTECTED]> wrote:
> > >
> > > > Hi! im creating a program in vb.net that will enable the user to
> add,
> > > > edit, delete my XML file which is in treeview,
> > > > this is the sample of my XML
> > >
> > > > <?xml version="1.0" standalone="yes"?>
> > > > <PDFT>
> > > >   <Pdf Title="QUARTERLY REPORTS" />
> > > >   <Pdf Title="2008 Third Quarter" Link="2008_Third_Quarter.pdf" />
> > > >   <Pdf Title="2008 First Quarter" Link="2008_First_Quarter.pdf" />
> > > >   <Pdf Title="2007 Third Quarter" Link="2007_Third_Quarter.pdf" />
> > > >   <Pdf Title="2007 Second Quarter" Link="2007_Second_Quarter.pdf" />
> > > >   <Pdf Title="2007 First Quarter" Link="2007_First_Quarter.pdf" />
> > > >   <Pdf Title="2006 Third Quarter" Link="2006_Third_Quarter.pdf" />
> > > >   <Pdf Title="2006 Second Quarter" Link="2006_Second_Quarter.pdf" />
> > > >   <Pdf Title="2006 First Quarter" Link="2006_First_Quarter.pdf" />
> > > > <PDFT/>
> > >
> > > > my problem is how can i add <Pdf Title="2008 Second Quarter"
> > > > Link="2008_Second_Quarter.pdf" /> in the desired position that i
> > > > wanted
> > > >  or
> > > > add <Pdf Title="YEARLY REPORTS" />
> > > > or edit something in my XML file...
> > >
> > > > Thank You...
>
>
> good day! is der any oder easy way dat u know? ty

Reply via email to