Datagrid selected row

I

Isaac Martinez

I'm an ASP.net developer and a newbie Pocket PC developer. How do you
determine which row in the datagrid was selected?

What I need to do is the following:

I'm working on preview/detail forms. On the preview form a user is presented
with a datagrid. The user selects a row or the cell in the datagrid. The
user clicks a continue button. When he clicks the continue button I need to
know the value in Column 0 for that row. The value in Column 0 is a primary
key that I want to pass on to the detail form.

Has anybody done this?
 
W

William Ryan eMVP

The .CurrentCell property contains both a CurrentRow and CurrentColumn
property
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top