首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏静谧的小码农

    C# 读写实现本地Xml文件与界面ListView的转换

    DataTable dt = new DataTable();             dt = ToDataTable(ZMBJModeList); dataGridView1.DataSource = dt; DataGridViewComboBoxCell cb = new DataGridViewComboBoxCell();             cb.DisplayStyle = DataGridViewComboBoxDisplayStyle.ComboBox                 }             } for (int i = 0; i < dataGridView1.Rows.Count; i++)             { DataGridViewComboBoxCell cb1 = new DataGridViewComboBoxCell(); //cb.Items.Add(dataGridView1.Rows[i].Cells[2].Value.ToString(

    1.5K30发布于 2019-01-11
领券