ObjectGears Help

Forum   ObjectGears (Version:

Script object QueryString

This object simplyfies work with variables from url.

Object properties

Name Description
string GetString(string name) Function returns text.
int? GetInt(string name) Function returns integer.
DateTime? GetDateTime(string name, string format) Function returns date.
Guid? GetGuid(string name) Function returns guid.
bool Exist(string name) Function finds out if there is variable name included inURL.
string Query Function returns part of Query url (the part after the question mark).

Parameter name is name of the varable in url. If the variable is not defined, NULL is returned.

In case that variable cannot be converted to the given data type, NULL is also returned.

This website is using cookies files to provide services and analyse visits. You agree with that by using this website.     Further information