• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 7255
  • Last Modified:

C# WPF Datagrid row selected event

Hi,

I have a wpf application which contains a grid which contains two datgrids.

The top datagrid is populated when the application loads up. The bottom datagrid is empty. What I would like to do is that when a user selects a row or cell in a row in the top datagrid that the bottom grid populates with certain data (dependent on the row selected).

How would I code that & what event would be best to use?

Thanks,
M
0
mcs26
Asked:
mcs26
1 Solution
 
Jitendra PatilSr.Software EngineerCommented:
Please try this link it contains the practical example with code for you.

WPF DataGrid Practical Examples

hope this helps.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now