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. Index was out of range. Must be non-negative and less than the size of the collection.

Index was out of range. Must be non-negative and less than the size of the collection.

Scheduled Pinned Locked Moved ASP.NET
cssdatabasehelptutorial
4 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.
  • F Offline
    F Offline
    Flavia A
    wrote on last edited by
    #1

    Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index the exception was generated when i was trying to assign a textbox value to a gridview. How to resolve this problem.

    N C 3 Replies Last reply
    0
    • F Flavia A

      Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index the exception was generated when i was trying to assign a textbox value to a gridview. How to resolve this problem.

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Flavia A wrote:

      Index was out of range. Must be non-negative and less than the size of the collection.

      That explains what you have to do. Keep the index in the array size limit.

      Best wishes, Navaneeth

      1 Reply Last reply
      0
      • F Flavia A

        Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index the exception was generated when i was trying to assign a textbox value to a gridview. How to resolve this problem.

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        Flavia A wrote:

        How to resolve this problem.

        What do YOU think this plain English message means ? Did you consider that if you're really not smart enough to work this out, you probably need to post your code and hope that someone here will help you ? We can't do more based on what you posted than point out that the message means what it says.

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        1 Reply Last reply
        0
        • F Flavia A

          Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index the exception was generated when i was trying to assign a textbox value to a gridview. How to resolve this problem.

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Gosh - this was a repost. Don't post again when we can see the original question. You get to be pushy when you're paying people to do your work for you.

          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

          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