-1

如何制作datagridview.selectRow = bindingsource.position??

sorry, i have no idea.
the datagridview' rowindex is not equals to the bindingsource' position. 
it is because i have set a relation of the bindingsource.

有人有建议吗?

4

1 回答 1

0

尝试使用正确的语法 datagridview.selectedRow = datagridview.rows(bindingsource.position) 我相信 bindingsource.position 返回一个您试图用作索引的整数。

于 2012-05-02T16:48:01.627 回答