先在网上查过资料,有这样的方法DataRowView drv = BindingContext(this.DataGrid1.DataSource).Current;this.textbox1.text=drv[0].tostring();编译的时候出现错误:
错误 1 “System.Windows.Forms.Control.BindingContext”是“属性”,但此处被当做“方法”来使用 D:\学习\C#\ComputerSell\电脑订单管理程序\order.cs 49 30 电脑订单管理程序
错误 1 “System.Windows.Forms.Control.BindingContext”是“属性”,但此处被当做“方法”来使用 D:\学习\C#\ComputerSell\电脑订单管理程序\order.cs 49 30 电脑订单管理程序
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货