日期:2014-05-18 浏览次数:21009 次
 for (int i = 0; i < cGoods.Rows.Count; i++)
                    {
                        object obj = cGoods.Rows[i].Cells[0].Value;
                        if (obj.ToString().Equals("1")&&obj!=null)
                        {
                            int id = Convert.ToInt32(cGoods.Rows[i].Cells[2].Value.ToString());
                        }
                    }