Results 1 to 3 of 3

Thread: queryString problem

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2003
    Location
    india
    Posts
    273

    queryString problem

    string OrderCode=Request.QueryString("OrderCode");
    the error is as follows


    'System.Web.HttpRequest.QueryString' denotes a 'property' where a 'method' was expected

    Help expected Soon please

  2. #2
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    You need to use brackets in C# to access the indexer:

    Code:
        string OrderCode=Request.QueryString["OrderCode"];

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2003
    Location
    india
    Posts
    273

    Thanks Lethal

    yeah lethal i have done it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width