Click here to Skip to main content
15,906,567 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: WebSite Testing Pin
Vasudevan Deepak Kumar25-Jun-07 21:54
Vasudevan Deepak Kumar25-Jun-07 21:54 
QuestionDataGrid inconsistent after sorting Pin
Allad25-Jun-07 11:46
Allad25-Jun-07 11:46 
AnswerRe: DataGrid inconsistent after sorting Pin
Vasudevan Deepak Kumar25-Jun-07 22:02
Vasudevan Deepak Kumar25-Jun-07 22:02 
GeneralRe: DataGrid inconsistent after sorting Pin
Allad26-Jun-07 0:59
Allad26-Jun-07 0:59 
GeneralRe: DataGrid inconsistent after sorting Pin
Vasudevan Deepak Kumar26-Jun-07 2:09
Vasudevan Deepak Kumar26-Jun-07 2:09 
GeneralRe: DataGrid inconsistent after sorting Pin
Allad26-Jun-07 4:30
Allad26-Jun-07 4:30 
QuestionIf...Then... Else based upon QueryString Pin
sduffield25-Jun-07 11:05
sduffield25-Jun-07 11:05 
AnswerRe: If...Then... Else based upon QueryString Pin
Fred_Smith25-Jun-07 11:58
Fred_Smith25-Jun-07 11:58 
Close, but no cigar....

The Response.Write method needs a string (to write...), eg:

Response.Write("Hello")

So for starters you need to enclose what you want to write to the page in quote marks.

To avoid the problem of your string including it's own quotes, you need to double them up - so you end up with:

if Request.QueryString("section") = "statebooks" then
Response.Write("<img src=""redesign/images/index_27a.jpg"" width=""685"" height=""47"" alt ="""">")
elseif Request.QueryString("section") = "directory" then
Response.Write("<img src=""redesign/images/index_27a.jpg"" width=""685"" height=""47"" alt ="""">")
else
Response.Write("<img src=""redesign/images/index_27.jpg"" width=""685"" height=""47"" alt ="""">")
end if


cheers
Fred
GeneralRe: If...Then... Else based upon QueryString Pin
sduffield26-Jun-07 3:13
sduffield26-Jun-07 3:13 
GeneralRe: If...Then... Else based upon QueryString Pin
Fred_Smith26-Jun-07 3:15
Fred_Smith26-Jun-07 3:15 
Questionjavascript form.reset() issue after the postback of an asp.net page Pin
Ken.A25-Jun-07 8:11
Ken.A25-Jun-07 8:11 
AnswerRe: javascript form.reset() issue after the postback of an asp.net page Pin
badgrs25-Jun-07 9:57
badgrs25-Jun-07 9:57 
GeneralRe: javascript form.reset() issue after the postback of an asp.net page Pin
Ken.A25-Jun-07 10:24
Ken.A25-Jun-07 10:24 
GeneralRe: javascript form.reset() issue after the postback of an asp.net page Pin
Vasudevan Deepak Kumar25-Jun-07 22:06
Vasudevan Deepak Kumar25-Jun-07 22:06 
GeneralRe: javascript form.reset() issue after the postback of an asp.net page Pin
Vasudevan Deepak Kumar25-Jun-07 22:04
Vasudevan Deepak Kumar25-Jun-07 22:04 
GeneralRe: javascript form.reset() issue after the postback of an asp.net page Pin
Ken.A26-Jun-07 5:54
Ken.A26-Jun-07 5:54 
GeneralRe: javascript form.reset() issue after the postback of an asp.net page Pin
Ken.A26-Jun-07 9:56
Ken.A26-Jun-07 9:56 
Questiontransparency on IE Pin
xxrono25-Jun-07 3:54
xxrono25-Jun-07 3:54 
AnswerRe: transparency on IE Pin
Vasudevan Deepak Kumar25-Jun-07 5:28
Vasudevan Deepak Kumar25-Jun-07 5:28 
AnswerRe: transparency on IE Pin
Shog925-Jun-07 6:58
sitebuilderShog925-Jun-07 6:58 
QuestionStylesheet Problem in IE 7 Pin
Sachin Pimpale25-Jun-07 3:35
Sachin Pimpale25-Jun-07 3:35 
AnswerRe: Stylesheet Problem in IE 7 Pin
Vasudevan Deepak Kumar25-Jun-07 5:27
Vasudevan Deepak Kumar25-Jun-07 5:27 
QuestionImage caching, IE7 problem! Pin
ErikZ25-Jun-07 3:05
ErikZ25-Jun-07 3:05 
AnswerRe: Image caching, IE7 problem! Pin
Vasudevan Deepak Kumar25-Jun-07 5:26
Vasudevan Deepak Kumar25-Jun-07 5:26 
GeneralRe: Image caching, IE7 problem! Pin
ErikZ25-Jun-07 22:46
ErikZ25-Jun-07 22:46 

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.