-1

how the make 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.

any one have suggestion?

DOK
  • 32,337
  • 7
  • 60
  • 92
LK Yeung
  • 3,462
  • 5
  • 26
  • 39
  • 1
    David, you've asked a whole bunch of questions now about this same topic. I think you might be better served by finding a tutorial to help you understand how the datagridview works. – DOK Apr 08 '12 at 17:47
  • 1
    Now don't post a question for tutorial ;) – Habib Apr 08 '12 at 17:49

1 Answers1

0

try datagridview.selectedRow = datagridview.rows(bindingsource.position) with the correct syntax I believe bindingsource.position returns an integer which you are trying to use as an index.