Products/Services Website Design DNN Web Hosting Bespoke Software Solutions
Spotlight Business Made Simple Credica Wilson Chauffeur Services Lysander Whitegrove FC Ultramagic Bracklesham Boardriders Johns Motors
DotNetNuke Modules janet.Articles janet.ReferMe! janet.Menu janet.Gallery janet.Guestbook janet.GoogleAds janet.Marquee
DotNetNuke Skins janet.VeniceGrandCanal janet.ParisSkyline janet.ColourBar
Articles HTML Javascript ASP .net DotNetNuke Web Robots
The Select statement provides us with an easy method by which to perform one of a number of action, based on the value of a variable. For example, we may be preparing a page which will be reached with a variable in the querystring defining the selection made and the action to perform.
The format of the Select statement is:
<%Select case = request.querystring("Action") case "Edit" ... case "Delete" ... case "New" ... case else ...End Select 'case = request.querystring("Action")%>
Adding a comment next to the closing closing End Select will help when debugging your code.
It is as well to add the encompassing else line, even if there is no content. At the time of debugging the program a simple output statment such as response.write("case else") may prove helpful.
Copyright © 2004-2007 Janet Systems Ltd.
DotNetNuke Website design and hosting from £15.00 per month. More...
Looking for a website design company in the Thames Valley, call us on 01628 566178
DotNetNuke ModulesDotNetNuke Skins
from Janet Systems