www.webdeveloper.com
Results 1 to 4 of 4

Thread: Paging in DataGrid

  1. #1
    Join Date
    Apr 2005
    Location
    My Home :D
    Posts
    106

    Paging in DataGrid

    Is there a way to write paging code in DataGrid without using DataAdaptor??

  2. #2
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    5,298

  3. #3
    Join Date
    Dec 2004
    Posts
    34
    try this, one of my friends told me about it but i never used it

    Private Sub DataGrid1_PageIndexChanged(ByVal source As System.Object, ByVal e As System.Web.UI.WebControls.DataGridPageChangedEventArgs) Handles DataGrid1.PageIndexChanged

    DataGrid1.CurrentPageIndex = e.NewPageIndex
    DataGrid1.DataBind()

    End Sub

  4. #4
    Join Date
    Apr 2005
    Location
    My Home :D
    Posts
    106
    Thanks...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles