borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Two date compare by Javascript ?)Next Topic (dropdownlist in asp.net) New Topic New Poll Post Reply
AndreaVB Forum : ASP.Net : xml
Poster Message
Sekar
Level: Sage

Registered: 11-03-2004
Posts: 63

icon xml

I have a webpage layout developed in html. Inside that layout I want to insert xml output. How can do it?
I meant my html layout looks like an rectangle image(border). Inside this rectangle border I want to show my address, phone no, etc. which is done in xml. Thanks.

28-07-2005 at 11:25 PM
View Profile Send Email to User Show All Posts | Quote Reply
~Bean~
Level: VB Guru


Registered: 07-04-2003
Posts: 488
icon Re: xml

Reading XML is as easy as working with a database...

be sure you have

Imports System.Xml


then in your code:

dim reader as XmlTextReader
reader = new XmlTextReader ("c:\xml\myfile.xml")
do while (reader.Read())
'do some action here
loop


[Edited by ~Bean~ on 29-07-2005 at 08:03 AM GMT]

____________________________
Eggheads unite! You have nothing to lose but your yolks.

29-07-2005 at 01:03 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
Sekar
Level: Sage

Registered: 11-03-2004
Posts: 63
icon Re: xml

Thanks, I was talking about this buddy....

JUST EMBEDDED XML OUTPUT INSIDE HTML PAGE...

<xml id="addr" src="C:\Junks\Template\XML\output.xml">
</xml>
<table border="1" datasrc="#addr">
<tr>
<td><span datafld="name"></span></td>
<td><span datafld="Street_Apt"></span></td>
<td><span datafld="City"></span></td>
<td><span datafld="Zip"></span></td>
<td><span datafld="Foneh"></span></td>
<td><span datafld="Fonem"></span></td>
</tr>
</table>

30-07-2005 at 04:06 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : ASP.Net : xml
Previous Topic (Two date compare by Javascript ?)Next Topic (dropdownlist in asp.net) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder