Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6908
  • 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

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

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