获取GridView中的某列值

    protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e)
    {
        string id = GridView1.Rows[e.NewEditIndex].Cells[0].Text;
        Response.Redirect("TempletEdit.aspx?id=" + id);
    } 
posted @ 2007-03-20 22:29  leonardleonard  阅读(103)  评论(0)    收藏  举报