|
 |
aspx thread: LOST IN DOUBLE QUOTE LAND
Message #1 by "Jonathan Gravois" <wynnewade@t...> on Sat, 24 Nov 2001 11:31:05 -0600
|
|
This is text that I modified to add a target frame. The lines marked are
giving me problems. How would you handle the double quotes? At the
bottom I put the text straight out of the book that I modified.
If DSLogin.Tables("UserInfo").Rows.Count = 0 Then
Session("NumTries") = Session("NumTries") + 1
If Session("NumTries") >= _
Application("MaxTries") Then
Response.Redirect("./FailedLogin.aspx
Target=""MainFrame"")
Else
lblMessage.Text = "The user name and
password " _
& "were not found. Please try again."
End If
Else
Session("Student_ID")
DSLogin.Tables("UserInfo").Rows(0).Item("Student_ID")
Response.Redirect("./SuccessLogin.aspx
Target=""MainFrame""")
End If
**********************************
ORIGINAL CODE
**********************************
If DSLogin.Tables("UserInfo").Rows.Count = 0 Then
Session("NumTries") = Session("NumTries") + 1
If Session("NumTries") >= _
Application("MaxTries") Then
Response.Redirect("./FailedLogin.aspx")
Else
lblMessage.Text = "The user name and
password " _
& "were not found. Please try again."
End If
Else
Session("Student_ID")
DSLogin.Tables("UserInfo").Rows(0).Item("Student_ID")
Response.Redirect("./SuccessLogin.aspx")
End If
THANKS!
Jon
Message #2 by "Julian Roberts" <jules@c...> on Sat, 24 Nov 2001 18:20:51 -0000
|
|
You can't really target a frame using server side code. It's be better to
put it in the <form> tag. Like:
<form target="MainFrame">
Julian Roberts
http://charon.co.uk
----- Original Message -----
From: "Jonathan Gravois" <wynnewade@t...>
To: "ASP+" <aspx@p...>
Sent: Saturday, November 24, 2001 5:31 PM
Subject: [aspx] LOST IN DOUBLE QUOTE LAND
> This is text that I modified to add a target frame. The lines marked are
> giving me problems. How would you handle the double quotes? At the
> bottom I put the text straight out of the book that I modified.
Message #3 by "Jonathan Gravois" <wynnewade@t...> on Sat, 24 Nov 2001 13:12:10 -0600
|
|
Sounds right. How would I do it?
Jon
-----Original Message-----
From: Julian Roberts [mailto:jules@c...]
Sent: Saturday, November 24, 2001 12:21 PM
To: ASP+
Subject: [aspx] Re: LOST IN DOUBLE QUOTE LAND
You can't really target a frame using server side code. It's be better
to put it in the <form> tag. Like:
<form target="MainFrame">
Julian Roberts
http://charon.co.uk
----- Original Message -----
From: "Jonathan Gravois" <wynnewade@t...>
To: "ASP+" <aspx@p...>
Sent: Saturday, November 24, 2001 5:31 PM
Subject: [aspx] LOST IN DOUBLE QUOTE LAND
> This is text that I modified to add a target frame. The lines marked
> are giving me problems. How would you handle the double quotes? At the
> bottom I put the text straight out of the book that I modified.
---
VBug Winter Conference 2001
Open Forum: Dan Appleman will be hosting an open
forum at The .NET Developer's Conference on
29th November 2001. The session will give
developers the chance to discuss and question
Dan on his experience with the .NET environment.
Dan has been programming Visual Basic since the
alpha version 1.0. And with over 10 years
Visual Basic experience is well qualified to
help you on your road to being a .NET Guru.
http://www.vbug.co.uk/redirect.asp?url=39&id=17
---
You are currently subscribed to
aspx as: wynnewade@t...
$subst('Email.Unsub')
|
|
 |