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 gridview

ASP.NET gridview

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netsysadminquestion
4 Posts 2 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.
  • S Offline
    S Offline
    solarthur01
    wrote on last edited by
    #1

    Im trying to use the gridview and i keep getting the following error: Control 'GridView1' of type 'GridView' must be placed inside a form tag with runat=server, even though i do have a runat server tag: br mode="hold" />I am a novice to asp.net, its probably sometrhing very simple:). Can anyone help?? Many thanks.

    modified on Wednesday, January 09, 2008 7:28:28 PM

    M 1 Reply Last reply
    0
    • S solarthur01

      Im trying to use the gridview and i keep getting the following error: Control 'GridView1' of type 'GridView' must be placed inside a form tag with runat=server, even though i do have a runat server tag: br mode="hold" />I am a novice to asp.net, its probably sometrhing very simple:). Can anyone help?? Many thanks.

      modified on Wednesday, January 09, 2008 7:28:28 PM

      M Offline
      M Offline
      Michael Sync
      wrote on last edited by
      #2

      Is your Gridview inside a form tag?

      Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

      S 1 Reply Last reply
      0
      • M Michael Sync

        Is your Gridview inside a form tag?

        Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

        S Offline
        S Offline
        solarthur01
        wrote on last edited by
        #3

        No it is not within a form tag. Where do i put the form tag??

        M 1 Reply Last reply
        0
        • S solarthur01

          No it is not within a form tag. Where do i put the form tag??

          M Offline
          M Offline
          Michael Sync
          wrote on last edited by
          #4

          put the form tag within body tag. put the gridview within form tag.

          Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

          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