title: Pagination for Grid View
body: <p>I am using a Grid View of asp.net 4.0. I want to use pagination.
  I am Handling Pagination with  SQL query. I am getting only the number of records, i want to show in my grid. I want to set the total number of records to my grid, so that my grid displays page numbers (eg. 1 2 3 ....8) according to my total number of records. My grid should tell me what is the current page number which is been viewed.
  I am unable to set Page numbers according to my total record count.
  Please Help me on this.
  Thanks in Advance.</p>