Foreach遍历DataTable

大神请路过

foreach(DataRow dr in da_col.Rows)

            {

                Object[] os = dr.ItemArray;

                foreach (Object o in os)

                {

                    Console.WriteLine(o);

                }

            }

posted on 2018-05-07 09:27  编程流氓  阅读(883)  评论(0编辑  收藏  举报

导航