我想做一个类似 163 信箱的那样,用 GridView 做,点收信箱内的某行,就能显示出该行的详细信息. 怎么才能得到这一行的 ID  呢 ??protected void GridView1_RowCommand(object sender,GridViewCommandEventArgs e)
    {
        if (e.CommandName == "Select")
        {
            id = GridView1.DataKeys[index].Value.ToString();
            Response.Write(id); 
        }    }上面的 int index  怎么才能获得到呢?
在线等,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,