473,796 Members | 2,465 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1504
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 ServerSideInclu des (SSI) try this where you want
the html to display:

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

HTH
TODD

"erez" <er*******@hotm ail.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 ServerSideInclu des (SSI) try this where you wantthe html to display:

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

HTH
TODD

"erez" <er*******@hotm ail.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*******@hotm ail.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 ServerSideInclu des (SSI) try

this where you want
the html to display:

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

HTH
TODD

"erez" <er*******@hotm ail.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*******@hotm ail.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 ServerSideInclu des (SSI) try

this where you want
>the html to display:
>
><!--#include file ="YourFileName. html"-->
>
>HTH
>TODD
>
>"erez" <er*******@hotm ail.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.writef ile(filename).

"erez" <er*******@hotm ail.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*******@hotm ail.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 ServerSideInclu des (SSI) try this where you want >the html to display:
>
><!--#include file ="YourFileName. html"-->
>
>HTH
>TODD
>
>"erez" <er*******@hotm ail.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
1850
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 attach to Weblogic server. a) Have read various documents on various websites including http://java.sun.com/products/plugin/1.3/docs/debugging.html b) My classes are compiled with -g option. (Attaching to VM fails, so I dont think that's an issue...
15
3730
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 idea is: When people check the check boxes in HTML page for the PDF files, it will transfer the files' name to ASP page. Then, it will attach it in the email.
3
2037
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 other SQL tables.) But, when I select that table I get a message that tells me the name is invalid. I don't understand this because it gives me the name in the Get Data dialog, and I don't have to enter it manually.
2
1318
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 other SQL tables.) But, when I select that table I get a message that tells me the name is invalid. I don't understand this because it gives me the name in the Get Data dialog, and I don't have to enter it manually.
6
2535
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 to attach the django debug error to an email and mail it to myself whenever there is an error in the application thanks a lot
2
7832
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 from then have the link displayed on the form. All the files would be displayed on the computers harddrive (or a network folder) and not in the db itself. I have read and reread http://www.mvps.org/access/api/api0001.htm and understand that i...
5
17234
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 one's machine and attach them. I tried to search for the HTML code to accomplish this in Google, but couldnt find any. Lots of thanks in advance, Rama
4
3440
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, it failed complaining "Could not find row in sysindexes for database ID 10, object ID 1, index ID 1. Run DBCC CHECKTABLE on sysindexes." Then, I attempted to command line attach (thought it may have some option...), same outcome. Then, ran a...
14
2334
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. StreamWriter sw = File.CreateText(fileName) sw.Write(m_Model.Csv); the new functionality is to attach the file to email and send automatically. i cannot store in some path and attach since access issues might come later. Is there any other way to...
0
9680
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9528
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10456
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10174
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9052
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7548
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5575
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.