Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. asp.net feed bak form

asp.net feed bak form

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aslamshaik2510978
    wrote on last edited by
    #1

    can any onehelp me, i wrote code in webpage like string usr,pwd,comments; it is saying an error like c:\inetpub\wwwroot\feedbakdemo\WebForm1.aspx.vb(36): 'String' is a class type, and so is not a valid expression. c:\inetpub\wwwroot\feedbakdemo\WebForm1.aspx.vb(36): '.' expected. could u plz let me know what to do. aslam

    C E 2 Replies Last reply
    0
    • A aslamshaik2510978

      can any onehelp me, i wrote code in webpage like string usr,pwd,comments; it is saying an error like c:\inetpub\wwwroot\feedbakdemo\WebForm1.aspx.vb(36): 'String' is a class type, and so is not a valid expression. c:\inetpub\wwwroot\feedbakdemo\WebForm1.aspx.vb(36): '.' expected. could u plz let me know what to do. aslam

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      aslamshaik2510978 wrote:

      string usr,pwd,comments;

      This is C#

      aslamshaik2510978 wrote:

      c:\inetpub\wwwroot\feedbakdemo\WebForm1.aspx.vb(36): 'String' is a class type, and so is not a valid expression. c:\inetpub\wwwroot\feedbakdemo\WebForm1.aspx.vb(36): '.' expected.

      This suggests the compiler is expecting VB.NET


      Upcoming events: * Glasgow Geek Dinner (5th March) * Glasgow: Tell us what you want to see in 2007 My: Website | Blog | Photos

      1 Reply Last reply
      0
      • A aslamshaik2510978

        can any onehelp me, i wrote code in webpage like string usr,pwd,comments; it is saying an error like c:\inetpub\wwwroot\feedbakdemo\WebForm1.aspx.vb(36): 'String' is a class type, and so is not a valid expression. c:\inetpub\wwwroot\feedbakdemo\WebForm1.aspx.vb(36): '.' expected. could u plz let me know what to do. aslam

        E Offline
        E Offline
        ednrgc
        wrote on last edited by
        #3

        aslamshaik2510978 wrote:

        string usr,pwd,comments;

        This is c# declaration. You've either created a VB.NET application, or you have to declare variables as: Dim usr as String.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups