View Single Post
  #1 (permalink)  
Old December 8th, 2006, 03:40 PM
tready tready is offline
Authorized User
Join Date: Oct 2005
Location: Summerville, SC, USA.
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default VBscript to C# .net Script


I'm trying to recreate some code I know how to do in ASP vbscript in C#.

Here is the code in vbscript.
Dim incfile, pg

'Define pg
pg = request.querystring("page")

'Logic for include
Select Case pg
  case "main"
     incfile = "main.asp"
  case "add"
     incfile = "add.asp"
  case "edit"
     incfile = "edit.asp"
End Select

home can I recreate this is c#? Can anyone help with this?