Thursday, August 30, 2007

Accessing indexed properties in vb

Dim s, value As String
s = Request.QueryString("Name")
value = Request.Cookies("Key").Value

'Note that default non-indexed properties
'must be explicitly named in VB


var s : String = Request.QueryString("Name");
var value : String = Request.Cookies("key");

No comments: