473,320 Members | 2,073 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Displaying HTML in c#

I'm trying to be clever. Silly of me really.

What I want to do is to extract (possibly complex) views if data from
SQLServer in XML.

Then to render them via an XSL stylesheet into a Windows Form (benefits are
I can change data included and layout without recompiling - and indeed have
custom views per user and so on).

Obviously I need some sort of HTML renderer to do this.

My researches so far show that there is no such animal under ,NET which,
frankly, astonishes me.

Instead you have to use ShDocVw which appears cumbersome. It also (I think)
will not take its HTML from a stream or String meaning I have to create lots
of temporary files.

Before I junk this idea and go with old fashioned technology, is there any
nice clean way of doing this? Or an *simple* samples.

Hope someone can point me.

Iain
Nov 15 '05 #1
2 1293
"Iain" <id********@dircon.co.uk> wrote in message
news:Oe**************@TK2MSFTNGP11.phx.gbl...
I'm trying to be clever. Silly of me really. Instead you have to use ShDocVw which appears cumbersome. It also (I think) will not take its HTML from a stream or String meaning I have to create lots of temporary files.

Before I junk this idea and go with old fashioned technology, is there any
nice clean way of doing this? Or an *simple* samples.


My solution is here:

http://www.itwriting.com/htmleditor/index.php

Tim
Nov 15 '05 #2
This looks perfect Tim.

You've saved me much work and anxiety!

Iain
"Tim Anderson" <ti*****@hotmail.com> wrote in message
news:e#**************@tk2msftngp13.phx.gbl...
"Iain" <id********@dircon.co.uk> wrote in message
news:Oe**************@TK2MSFTNGP11.phx.gbl...
I'm trying to be clever. Silly of me really.

Instead you have to use ShDocVw which appears cumbersome. It also (I

think)
will not take its HTML from a stream or String meaning I have to create

lots
of temporary files.

Before I junk this idea and go with old fashioned technology, is there any nice clean way of doing this? Or an *simple* samples.


My solution is here:

http://www.itwriting.com/htmleditor/index.php

Tim

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Joe Price | last post by:
Hi chaps I've got an XML file, within that file i've embedded html code using the <!]> tag I'm displaying that xml file through a browser using an xsl style sheet. However it is displaying...
2
by: Woodmon | last post by:
I'm observing issue with linked images not displaying in either Firefox 1.5b2 or IE6 when running on Win XP (they display fine in either browser on W2k). Example problem HTML is: <a...
5
by: Tomaz Koritnik | last post by:
Hi I have many short HTML files stored in a binary stream storage to display descriptions for various items in application. HTML would be display inside application using some .NET control or...
4
by: amit34349 | last post by:
Hello , I have an issue in displaying the Cyrillic Characters in HTML page for e.g - i want to display a cyrillic Character string ...
2
ak1dnar
by: ak1dnar | last post by:
Hi, need a favor on this HTML element. I am using this tag for for my web Application to print some buttons along with some products. <a href="javascript:get_id(1001)"> <img width="21"...
9
by: Cogito | last post by:
My program builds several tables using inner HTML. All the tables are displayed only when the program terminates. How can I make it display one table at a time and then wait for a click before...
0
by: paragguptaiiita | last post by:
I have one problem regarding displaying text from XML file. I have a XSL variable named $p = (0 0 0) (0.82 0 0) (1.63 -0.01 0) (2.63 -0.01 0) (3.63 -0.01 0) (4.63 -0.01 0) (5.63 -0.02 0) (6.63 -0.02...
0
by: paragguptaiiita | last post by:
I have one problem regarding displaying text from XML file. I have a XSL variable named $p = (0 0 0) (0.82 0 0) (1.63 -0.01 0) (2.63 -0.01 0) (3.63 -0.01 0) (4.63 -0.01 0) (5.63 -0.02 0) (6.63 -0.02...
11
by: dba | last post by:
Have been displaying data from database using html for some time but just recently trying to display data back to "form". Can't find answer. <form method="post" action="<?php echo $PHP_SELF;?>">...
7
by: RichB | last post by:
I am trying to get to grips with the asp.net ajaxcontrol toolkit, and am trying to add a tabbed control to the page. I have no problems within the aspx file, and can dynamically manipulate a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.