Attach HTML to Table

  • Thread starter Thread starter erez
  • Start date Start date
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
 
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
 
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
 
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
 
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
 
Back
Top