Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

if else in ASP

Status
Not open for further replies.

gunalan

Technical User
Joined
Jun 29, 2004
Messages
52
Location
US
hi..

i would like to know..

it is possible we can check this kind of condition in asp..

if (condition) then
if (condition) then
endif
endif

it is possible..i wud like to know...

thanx...
 
Your syntax appears to be ok. What specifically are you attempting to do? Or are you simply trying to ascertain that your logic is correct? If so, you could simply try the code on your page first.

------------------------------------------------------------------------------------------------------------------------
"The major difference between a thing that might go wrong and a thing that cannot possibly go wrong is that when a thing that cannot possibly go wrong goes wrong it usually turns out to be impossible to get at or repair."
--Dou
 
trying to figure out what you're actually asking, but i think this is what you're looking for:

if (condition) then
if (condition) then
' nested conditional
endif
Elseif condition2 then
' conditional else
else
' else out
endif


[thumbsup2]DreX
aKa - Robert
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top