View Single Post
  #10 (permalink)  
Old July 22nd, 2007, 12:28 AM
zaghmout zaghmout is offline
Friend of Wrox
 
Join Date: Aug 2006
Location: Amman, , Jordan.
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Default

me too can't find the PageIndexChange event!

try this ..

    protected void grd_PageIndexChanging(object sender, GridViewPageEventArgs e)
    {
        try
        {
            grd.PageIndex = e.NewPageIndex;
            grd.DataSource = ds.Tables[0];
            grd.DataBind();
        }
        catch (Exception ex)
        {
            lblError.Text = ex.Message;
        }
    }


Nothing is impossible. The impossible only takes longer. "Digital Fortress, Dan Brown"
Reply With Quote