private void dgv_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
        {
            foreach (DataGridViewRow dr in dgv.Rows)
            {
               dr.Cells[0].Value = dr.Index + 1;           
            }    
        }
我这样为DataGridView添加了序号,但是我想翻页的时候继续上一页的序号,怎么办呢?求帮助~~