public void GridView1_RowCreated(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.Pager) { Label label = new Label(); label.Text = "页码:"; e.Row.Cells[0].Controls.AddAt(0, label); } }