CurrencyManager cm= BindingContext[dataGrid1.DataSource,dataGrid1.DataMember] as CurrencyManager; if (cm != null) { int rowindex=this.dataGrid1.CurrentCell.RowNumber;//或CurrentRowIndex cm.RemoveAt(rowindex); this.iSelectRowIndex = -1; }

相关文章:

  • 2022-02-08
  • 2022-12-23
  • 2022-02-13
  • 2022-12-23
  • 2022-01-04
  • 2021-08-21
  • 2021-08-26
猜你喜欢
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
相关资源
相似解决方案