INSERT successUrl ASP.NET

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default INSERT successUrl ASP.NET

    Hi

    I am trying to pick up a Query string and pass it over to another page using
    the "successUrl " in a MM insert.

    I receive the following error when using this code:
    SuccessURL='<%# "style_LIST.aspx?section=Request.QueryString("sect ion")" %>'

    Error:
    BC32017: Comma, ')', or a valid expression continuation expected.

    If i remove the Query string name i get a response that would suit the job if
    there was only one potential parameter:

    Code:
    SuccessURL='<%# "style_LIST.aspx?section=Request.QueryString" %>'

    After insert:
    style_LIST.aspx?section=Request.QueryString

    Any idea how to pick up the query string without errors in SuccessURL??

    Any advice would be appreciated.

    Regards
    Jay




    j289243 Guest

  2. Similar Questions and Discussions

    1. What's faster - loop for insert or insert...select.
      What is faster if I'm moving large numbers of records (anywhere from 10,000 to 300,000 records per archive) from one query to another table? 1)...
    2. Multiple Insert or Looping Insert
      I built an application on an Access DB that allows a dispatcher to log trucks in the field at their location as they call in. There are three...
    3. Login - multi table insert for registrant; subsquent login insert page requests into joined 'Selection' Table
      Question regards insert and updates in sql server for a simple login script that requires registration the first time and only "email address" upon...
    4. INSERT PDF INTO ANOTHER PDF
      when i try to insert a PDF into another PDF file, i get the error message, "This file is protected. It cannot be used for this command." is there...
    5. INSERT statement contains fewer items than the insert list
      The block of code below shows how I am inserting field values into my dbase table: strSQLStatement = "INSERT INTO tblArticles...
  3. #2

    Default Re: INSERT successUrl ASP.NET


    SuccessURL='<%# "style_LIST.aspx?section=" & Request.QueryString("section")
    %>'



    --
    Kevin Marshall
    WebXeL.com Ltd
    [url]http://www.webxel.com[/url]

    ASP.NET Dreamweaver Extensions
    [url]http://www.webxel-dw.co.uk[/url]
    "j289243" <webforumsuser@macromedia.com> wrote in message
    news:cuvtck$fd1$1@forums.macromedia.com...
    > Hi
    >
    > I am trying to pick up a Query string and pass it over to another page
    > using
    > the "successUrl " in a MM insert.
    >
    > I receive the following error when using this code:
    > SuccessURL='<%# "style_LIST.aspx?section=Request.QueryString("sect ion")"
    > %>'
    >
    > Error:
    > BC32017: Comma, ')', or a valid expression continuation expected.
    >
    > If i remove the Query string name i get a response that would suit the job
    > if
    > there was only one potential parameter:
    >
    > Code:
    > SuccessURL='<%# "style_LIST.aspx?section=Request.QueryString" %>'
    >
    > After insert:
    > style_LIST.aspx?section=Request.QueryString
    >
    > Any idea how to pick up the query string without errors in SuccessURL??
    >
    > Any advice would be appreciated.
    >
    > Regards
    > Jay
    >
    >
    >
    >

    Kevin Marshall Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139