Quantcast
Viewing all articles
Browse latest Browse all 12583

DataGridView select cell

Hi everyone. I have a Windows Form in my program that displays data from three tables in three datagridviews. The datagridviews are bound together using three binding sources and two relationships. The parent table and child1 are related with a common field. Child1 and child2 are related by a field which is common to both of them but different from the first relationship. Parent bindingsource datasource is the dataset that contains all three tables. The data member is the parent table. Child1 datasource is parent binding source. Data member is relationship1. Child datasource is child binding source. Data member is relationship2. All three datagridviews are displayed in the form together. Whew. What I want to do is make the first datagridview row 1 cell 1 selected. That I have done. But when i go to move the selection using down arrow key, I must press it twice before the highlighted cell will move down one row. Any suggestions? Thank you.

Everett


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>