日期:2014-05-18  浏览次数:20721 次

dev 控件中 gridControl1 控件的button列 事件中如何获取所在行的某列的值
gridControl1 的 private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
  { } 事件中如何获取 所在行某列的值。 


------解决方案--------------------
你点的时候焦点行肯定变了
GridView1.GetFocusedRowCellValue(列名).ToString