Hello all
I need to create if else statements in asp.net, basically I want to find out
what page I am on and then assign it the appropriate link, my code looks
something like this at mo.
dim page
If page = "default.aspx" then
Response.Write = "<a href=""default.aspx?font=up""
class=""footerlink"">Increase Text</a>"
Else if page = "guidance.aspx" then
Response.Write = "<a href=""default.aspx?font=up""
class=""footerlink"">Increase Text</a>"
End if
Obviously this doesn't work and I am getting the following error message
"Overload resolution failed because no accessible 'Write' accepts this number
of arguments"
Can anybody help please?
Thanks
Carol
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/