Attach HTML to Table

E

erez

Hello
How can i attach an html file to TableRow in HtmlTable
control that run at server, the code should be in server
side.
thanks
 
T

Todd Acheson

I can think of two possible ways:

Since this is an ASP.NET group, why not just put it in an ASCX file and be
done with it?

OR

If your webserver supports ServerSideIncludes (SSI) try this where you want
the html to display:

<!--#include file ="YourFileName.html"-->

HTH
TODD
 
E

erez

thanks,
the problem is that the HTML page will changed very
frequently, so its must be done at run time, and the
server nust decide which page too attach every time
Thanks
 
T

Todd A

Use a server control (ASCX file) and write code (inline or code-behind) that
does your dynamic stuff.
If you don't know what an ASCX file is or how to use it, I suggest using the
help files that come with Visual Studio.NET or check the online help files
at MSDN. I'm sure you could find some postings in this newsgroup about
their use as well.

Todd
 
E

erez

Thanks TODD

i know how to build ascx files, what i dont know is how to
attach HTML files Table Cell , like using IFRAME tag.
Thanks
erez
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top