XML TO HTML Using VB.NET

sarokavi

New member
Joined
Jul 15, 2005
Messages
3
Programming Experience
1-3
Hi,

Iam very new to .NET
To say Iam keeping my first step into .NET.

My Project is to pick the data from excel file convert to html file to be displayed in browser using VB.NET

I thought of picking the data from Excel file convert to xml and then convert the xml data to HTML File.

Can anybody tell me is it possible using VB.NET
If so a small sample program please.

Thanks in advance.
 

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,547
Location
Sydney, Australia
Programming Experience
10+
This is almost a duplicate thread but not quite. As I said in your other thread, read the data from the Excel file using ADO.NET or automation. You can read up on both of these methods on MSDN. Once you have the data, you can do whatever you want with it. You use the XmlDocument class to create XML or you can write your own HTML. You can read up on the System.Xml namespace and the StreamWriter class on MSDN also.
 

TechGnome

Well-known member
Joined
May 23, 2005
Messages
896
Programming Experience
10+
If I remember right, you can also use Office Automation by using the Excel.Application object to save teh file as HTML..... But that's w/o knowing just how you wanted it formated and if you even want it to look like the original Excel file or not.

Tg
 
Top Bottom