473,395 Members | 1,613 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,395 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 1483
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 attach to the applet. However I can use Netbeans 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 attached. Can anybody point out my error? My...
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 one I can't attach to. (I can attach to all 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 one I can't attach to. (I can attach to all 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 dynamically constructed in the python script I want...
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 than one file to the associated record, and then...
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 be opened with which one can browse the files in...
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 attach it to my sql server 2000 with SP3 with EM,...
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 to write a CSV file in my local system. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.