摘要:
0、gridControl中获取数据源(XML): DataSet ds = new DataSet(); ds.ReadXml(System.AppDomain.CurrentDomain.BaseDirectory + @"\config\SimuColumn.xml"); this.gridControl1.ItemsSource = ds.Tables[0].DefaultView;1、获取gridControl的某一行中的某一单元格的值: DataRowView drv = (DataRowView)this.gridControl1.View.FocusedRo 阅读全文