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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Asp.net

Asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpcssasp-nethelpquestion
2 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.
  • T Offline
    T Offline
    Thavika
    wrote on last edited by
    #1

    I have a gridview ,i have done paging for that grid.In a method i have to retrieve all the records from gridview to datatable.It shows the error IndexOutofRange because page size is 5.Actually 12 records are there.What to do?

    kavitha

    C 1 Reply Last reply
    0
    • T Thavika

      I have a gridview ,i have done paging for that grid.In a method i have to retrieve all the records from gridview to datatable.It shows the error IndexOutofRange because page size is 5.Actually 12 records are there.What to do?

      kavitha

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

      Thavika wrote:

      It shows the error IndexOutofRange because page size is 5.Actually 12 records are there.What to do?

      You obviously need to read the data source seperately if you want to access all the data and not just the stuff being shown by the grid.

      Thavika wrote:

      :Re: Asp.net

      Try to think of an intelligent, descriptive subject next time, pls. If everyone who posted an ASP.NET question put 'ASP.NET', how would that help ?

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      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