grdview遍历

版权声明: https://blog.csdn.net/eds124/article/details/85267881
 foreach (GridViewRow gvr in GridView1.Rows)
        {
            foreach (TableCell gvCell in gvr.Cells)
            {
                //gvCell就是你想要的列了
            }
        }

猜你喜欢

转载自blog.csdn.net/eds124/article/details/85267881
今日推荐