陋室铭
永远也不要停下学习的脚步(大道至简至易)

    protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        int i = e.Row.RowIndex;
        //索引为-1行为GridView头
        if (i == -1)
        {
            e.Row.Cells[0].Text = "修改";
        }
    }
posted on 2007-05-23 10:47  宏宇  阅读(1214)  评论(4编辑  收藏  举报