472,353 Members | 1,938 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Attach HTML to Table

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
Nov 18 '05 #1
5 1413
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

"erez" <er*******@hotmail.co.il> wrote in message
news:06****************************@phx.gbl...
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

Nov 18 '05 #2
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

-----Original Message-----
I can think of two possible ways:

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

OR

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

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

HTH
TODD

"erez" <er*******@hotmail.co.il> wrote in message
news:06****************************@phx.gbl...
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

.

Nov 18 '05 #3
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

"erez" <er*******@hotmail.co.il> wrote in message
news:06****************************@phx.gbl...
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

-----Original Message-----
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

"erez" <er*******@hotmail.co.il> wrote in message
news:06****************************@phx.gbl...
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

.

Nov 18 '05 #4
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
-----Original Message-----
Use a server control (ASCX file) and write code (inline or code-behind) thatdoes your dynamic stuff.
If you don't know what an ASCX file is or how to use it, I suggest using thehelp files that come with Visual Studio.NET or check the online help filesat MSDN. I'm sure you could find some postings in this newsgroup abouttheir use as well.

Todd

"erez" <er*******@hotmail.co.il> wrote in message
news:06****************************@phx.gbl...
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

>-----Original Message-----
>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
>
>"erez" <er*******@hotmail.co.il> wrote in message
>news:06****************************@phx.gbl...
>> 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
>
>
>.
>

.

Nov 18 '05 #5
I think you can use Response.writefile(filename).

"erez" <er*******@hotmail.co.il> wrote in message news:<05****************************@phx.gbl>...
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
-----Original Message-----
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

"erez" <er*******@hotmail.co.il> wrote in message
news:06****************************@phx.gbl...
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
>-----Original Message-----
>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
>
>"erez" <er*******@hotmail.co.il> wrote in message
>news:06****************************@phx.gbl...
>> 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
>
>
>.
>

.

Nov 18 '05 #6

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

Similar topics

0
by: gen_www | last post by:
I am running an applet in Internet Explorer using <Object> tag and trying to attach to it using Netbeans IDE. However Netbeans is not able to...
15
by: tabonni | last post by:
Hi I try to grab the checked files from HTML page and then send those PDF files as attachments. It can just send email, there are no PDF files...
3
by: Bob C. | last post by:
In Access 97, I am trying to attach to a table in my SQL Server 2000 db. I use File/Get Data, which displays all the SQL tables including the...
2
by: Bob C. | last post by:
In Access 97, I am trying to attach to a table in my SQL Server 2000 db. I use File/Get Data, which displays all the SQL tables including the...
6
by: a | last post by:
What is the best way to construct an email in python and also attach a html file the html file to be attached is not on disk, but should be...
2
by: calebmichaud | last post by:
Hi I am having trouble understanding how to attach a file or files to a record. I want to (in form view0 allow the user to attach one or more...
5
by: rrkrishna24 | last post by:
Can someone guide how to code in simple HTML, how to browse the files and attach them. That is, when I click a button say "Attach", a window should...
4
by: time management | last post by:
Here's the scoop, I got a generic-purpose database (in the form of *.mdb and *.ldf) from a 'reputable' source on the net. But when I attempted to...
14
by: sreemathy2000 | last post by:
My requirement is to generate and attach a file and send in an email automatically. i have a existing functionality where i using the code below...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

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.