Click here to Skip to main content
15,897,090 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Dynamic dropdown list [modified] Pin
isaii21-Nov-06 15:20
isaii21-Nov-06 15:20 
GeneralRe: Dynamic dropdown list Pin
_AK_21-Nov-06 18:08
_AK_21-Nov-06 18:08 
QuestionPlease Help in Date Functions[modified] Pin
JVVS20-Nov-06 17:55
JVVS20-Nov-06 17:55 
AnswerRe: Please Help in Date Functions[modified] Pin
Guffa20-Nov-06 18:41
Guffa20-Nov-06 18:41 
GeneralRe: Please Help in Date Functions[modified] Pin
JVVS20-Nov-06 18:55
JVVS20-Nov-06 18:55 
GeneralRe: Please Help in Date Functions[modified] Pin
Guffa20-Nov-06 21:40
Guffa20-Nov-06 21:40 
QuestionAccessing Html controls created in javascript Pin
Rajaraman Soundararajan20-Nov-06 17:32
Rajaraman Soundararajan20-Nov-06 17:32 
QuestionPlease Help! INCLUDE PAGE from Variable Pin
steeleimaging20-Nov-06 16:39
steeleimaging20-Nov-06 16:39 
I have an ASP page that is the basic 'home' location (called user_area.asp) for all of my clients who log into my website. In the user_area.asp page, it calls for some common elements with an #INCLUDE FILE statement that are standard and not variable. (Such as 'header_inc.asp' and 'footer_inc.asp')

If I have a field in my Cutsomer Data Base (.mdb) called 'Custom2' and that field would contain a URL to something like:

mysite.com / clients / clientname / client.asp

What I would need to do is be able to use the #INCLUDE FILE statement to call for the 'Custom2' field so that I could include the clients 'client.asp' within the 'user_area.asp' page.

This 'Custom2' variable in my database would change accrdingly to whomever logged into the system. Since none of the clients have the same exact download files, the 'Custom2' variable would always change and the #INCLUDE FILE statement would always point and display a seperate client.asp page withing the user_area.asp page.

Thoughts? Resolution?

Code below...

========================================================================

<%@ LANGUAGE="VBSCRIPT" %>

<% LOGIN_PAGE = "Yes" %>

<!--#INCLUDE FILE="call_check_user_inc.asp"-->

<html>

<head>
<title><% =App_Name %></title>
<script src="../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<BODY <%=BodyTag%>>

<!--#INCLUDE FILE="header_inc.asp"-->

<%
User_ID = Session("User_ID")
%>

<div align="center"><center>

<table width="650" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><font face="Arial"><font size="2"><br>
</font>

</font>
<div align="center">
<table border="0" cellpadding="0" bgcolor="#C0C0C0" cellspacing="0" width="500">
<tr>
<td colspan="3" bgcolor="#ECECE6">
<p align="center"><font face="Arial" size="1">&nbsp;</font><font face="Arial" size="3"><b><% =Session("Company_Name") %>
User Area </b></font> </td>
</tr>
<tr>
<td colspan="3" bgcolor="#FFFFFF"><font face="Arial"><font size="2">Thank you for signing in
<% =Session("First_Name") %>,</font><br>
<br>
<font size="2">
You can edit your account info from this screen. </font></td>
</tr>
<tr>
<td width="77" bgcolor="#FFFFFF">&nbsp;</td>
<td width="393" bgcolor="#FFFFFF"><font size="-1"><a href="edit.asp"><font face="Geneva, Arial, Helvetica, sans-serif">Edit Account Info </font></a></font></td>
<td width="30" bgcolor="#FFFFFF">&nbsp;</td>
</tr>
<tr>
<td bgcolor="#FFFFFF">&nbsp;</td>
<td bgcolor="#FFFFFF"><font size="-1"><font face="Geneva, Arial, Helvetica, sans-serif"><a href="<% Response.Write(Session("Custom1")) %>">Downloads</a></font></font></td>
<td bgcolor="#FFFFFF">&nbsp;</td>
</tr>
<tr>
<td bgcolor="#FFFFFF">&nbsp;</td>
<td bgcolor="#FFFFFF">&nbsp;</td>
<td bgcolor="#FFFFFF">&nbsp;</td>
</tr>
<tr>
<td bgcolor="#FFFFFF">&nbsp;</td>
<td bgcolor="#FFFFFF">&nbsp;</td>
</tr>
</table>
</div>

</td>
</tr>
</table>
</center></div>

<br>
<br>

<!--#INCLUDE FILE="footer_inc.asp"-->

</body>
</html>

Dave Steele

QuestionHow to Create an Invoice-like Form in ASP NET 2.0 Pin
ezani20-Nov-06 16:24
ezani20-Nov-06 16:24 
QuestionDesigning an Email application Pin
hasanali0020-Nov-06 11:52
hasanali0020-Nov-06 11:52 
AnswerRe: Designing an Email application Pin
Tal Kain20-Nov-06 15:01
Tal Kain20-Nov-06 15:01 
QuestionServer Side Localization Pin
Filipe Peixinho20-Nov-06 10:53
Filipe Peixinho20-Nov-06 10:53 
AnswerRe: Server Side Localization Pin
indianet20-Nov-06 15:03
indianet20-Nov-06 15:03 
QuestionEmail Error Pin
shapper20-Nov-06 10:37
shapper20-Nov-06 10:37 
AnswerRe: Email Error Pin
indianet20-Nov-06 14:50
indianet20-Nov-06 14:50 
QuestionAlter Tooltip property of TableRow in UserControl Pin
pahlsson20-Nov-06 8:33
pahlsson20-Nov-06 8:33 
AnswerRe: Alter Tooltip property of TableRow in UserControl Pin
indianet20-Nov-06 10:55
indianet20-Nov-06 10:55 
QuestionRegistering server control ID Pin
Krrish20-Nov-06 7:43
Krrish20-Nov-06 7:43 
AnswerRe: Registering server control ID Pin
iamrashida8320-Nov-06 8:20
iamrashida8320-Nov-06 8:20 
QuestionInvalid postback or callback argument Pin
Krrish20-Nov-06 7:33
Krrish20-Nov-06 7:33 
AnswerRe: Invalid postback or callback argument Pin
Grapes-R-Fun20-Nov-06 9:30
Grapes-R-Fun20-Nov-06 9:30 
AnswerRe: Invalid postback or callback argument Pin
indianet20-Nov-06 14:56
indianet20-Nov-06 14:56 
QuestionDownloading Image Pin
Marek Konieczny20-Nov-06 7:25
Marek Konieczny20-Nov-06 7:25 
AnswerRe: Downloading Image Pin
iamrashida8320-Nov-06 8:30
iamrashida8320-Nov-06 8:30 
GeneralRe: Downloading Image Pin
iamrashida8320-Nov-06 8:34
iamrashida8320-Nov-06 8:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.