Ask a Question related to ASP.NET Building Controls, Design and Development.

  1. #1

    Default CS1513: } expected

    I get this error when accessing a web page. The Page has
    a User Control, which is basically a menu panel, which
    gets categories from MS SQL Svr, based on ManufacturerID.
    ManufacturerID is fed into GetCategories(int
    manufacturerID), via QueryString. This method is part of
    an assembly file.

    1. The assembly file compiles ok... no error reported...
    and I've gone through it with a tooth comb.
    2. The Page_Load on the control is so simple, you would
    need to be blind to miss a missing curly brace.

    Does anyone now of any issues with this error... why I
    might be getting it. Thanks.
    Calvin Guest

  2. Similar Questions and Discussions

    1. Too few parameters. Expected 1.
      I've searched all over the place, and can't find a solution to this error message to my query. I've come across it before, and I know that a common...
    2. Too few parameters. Expected 2.
      My form page: <cfform action="InstreamUpdate2.cfm" method="post"> <CFQUERY NAME="EditQueryInstreamWork" DATASOURCE="Instreamworks"> select *...
    3. Expected end of statement
      Can you post the EXACT error you're getting?
    4. not getting what i expected
      Hi I am working on a site with php & mysql. all that code is fine. However i now am adding in a banner/click thru code. Now here's my dilemma,...
    5. Expected END IF
      I Get this error with my code Script error: Expected END IF end mouseUp? Does anyone know what I'm doing wrong?
  3. #2

    Default CS1513: } expected

    >1. The assembly file compiles ok... no error reported...
    >and I've gone through it with a tooth comb.
    >2. The Page_Load on the control is so simple, you would
    >need to be blind to miss a missing curly brace.
    >
    >Does anyone now of any issues with this error... why I
    >might be getting it. Thanks.
    >.
    do you have any code in the ascx or aspx files? Maybe an
    <% if(...) { %> that's missing an <% } %> somewhere?

    Kelly

    Guest

  4. #3

    Default Re: CS1513: } expected

    M getting the same error.
    Please let me know how u solved this issue.
    Darshit 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