Version:
  1. Script object OG.QueryString

    Article: AN0001720 Displayed: 620x

    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.

  2.    ---
    Your rating:
    Rated by users: 0x
  3. Top
SearchTitle
×