473,508 Members | 2,360 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Attached Word Document in a ASPX

We are implementing an application that sends reminder emails to employees
in other departments through intranet. The application comes with an email
template in ASPX. Can I modify the codes to include an attached word
document? Where should I store the word document? The APSX codes is listed
as follows:
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="ImplementationReminder.aspx.vb"
Inherits="xxx.WebUI.ImplementationReminder"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>TeamCentral</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
<style>
BODY { MARGIN: 30px; FONT-FAMILY: arial,Sans-Serif }
DIV { WIDTH: 100% }
TABLE { WIDTH: 80% }
TD { FONT-SIZE: 10pt; font-face: Verdana, Arial, System }
HR { COLOR: #ccebf5; HEIGHT: 1px }
.heading { COLOR: #0099cc }
.subHeading { FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #003366;
TEXT-DECORATION: none }
.subHeading:hover { TEXT-DECORATION: underline }
.topBanner { BACKGROUND-COLOR: #003366 }
.subBanner { HEIGHT: 15px; BACKGROUND-COLOR: #0099cc }
.date { FONT-SIZE: 10pt }
.container {border-left: #0099CC 1px solid; border-right: #0099CC 1px
solid; border-bottom: #0099CC 1px solid; width:100%;}
</style>
</HEAD>
<body>
<form id="Form" method="post" runat="server">
<div class="topBanner">
<img id="HeaderImage" runat="server" alt="TeamCentral - TeamMate Audit
Management System"/>
</div>
<div class="subBanner"></div>
<center>
<table cellpadding="10" cellspacing="0" class="container">
<tr><td>
<table style="width:100%">
<tr>
<td class="heading">
<asp:Label Runat="server" ID="Name"></asp:Label>
<br>
<br>
</td>
</tr>
<tr>
<td>
This is a reminder that you have the following recommendations
approaching their implementation dates. Please update each recommendation
in TeamCentral by either indicating that it is implemented or revising your
implementation date. If you have any questions about how to enter your
implementation updates in TeamCentral, please contact (Jane Doe) at (ext.
123).
</td>
</tr>
<tr>
<td><hr>
</td>
</tr>
<tr>
<td>
<asp:Repeater Runat="server" ID="List">
<HeaderTemplate>
<table style="width:100%"">
</HeaderTemplate>
<ItemTemplate>
<tr>
<td>
<asp:HyperLink Runat="server"
NavigateUrl="<%#Me.GetLink(Container.DataItem)%>" class="subHeading"
Font-Underline="True"><%#Me.GetTitle(Container.DataItem )%></asp:HyperLink>
</td>
<td align="right" width="15%">
<asp:Label Runat="server"
class="date"><%#Me.GetDate(Container.DataItem)%></asp:Label>
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>
</td>
</tr>
</table>
</td></tr></table>
</center>
</form>
</body>
</HTML>
Mar 31 '06 #1
0 1173

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

Similar topics

4
11117
by: Yohancef Chin | last post by:
Hi, Being fairly new to .NET I am looking for a way to call MS Word from an event on a webform, and after the user is finished save that created document to an SQL Server database. Has anyone...
0
1062
by: Jerwin | last post by:
I have successfully embedded a Word document in my ASPX. I can view an write onto the Word document, as if the word document was pasted on the page It's like a 4"x3" area where u can view a word...
5
2163
by: Niklas Uhlin | last post by:
Someone please explain why Session_Start fires multiple times / retains SessionID values between sessions, when you open an ASP.NET page from MS Word. For details of the problem, see below: 1....
4
1736
by: Thomas Scheiderich | last post by:
I can't seem to open a word document from any of my browsers except the one on my web server. Here is the .aspx file: ***************************************************************** <%@...
3
5913
by: richi | last post by:
Hello, i'm hoping that somebody can point me in the right direction with my problem. I have been tasked with creating a simple browser based application that will allow the user to upload Word...
1
1798
by: kstriyhon | last post by:
i need to create a new word 2003 document within a c# web application. this is the code i´m using private Microsoft.Office.Interop.Word.ApplicationClass WordApp = new...
4
2019
by: enak | last post by:
I need to open a Word template so that I can merge some data from a database with the document. I am using ASP.NET, VB.NET. I can not even get MS Word to be visible. I can see that an instance is...
2
2506
by: aychai | last post by:
Hi all, I have a scenario where users fills in textbox fields on ASP.NET page from the server and when he/she clicks on a download button, the data from fields will insert into an existing word...
10
3263
by: cj2 | last post by:
I open a word template in VB and add values to the bookmarks then save the document as as pdf. When I then go to close the document it pops up a save as dialog box. It's already saved the...
0
7223
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
7321
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
7377
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7489
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...
1
5047
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...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
414
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.