Solved

How to bind two columns in datagrid in wpf

Posted on 2011-09-12
2
474 Views
Last Modified: 2013-12-17
How to bind two columns in datagrid in wpf.
I have two combo box columns in my datagrid. I want to make those column bind to each other so that if I select values in  one of the  columns it will bring  respective value in other column.
Thank you.
0
Comment
Question by:Masterabhi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 18

Accepted Solution

by:
dj_alik earned 500 total points
ID: 36528871
WPF Datagrid Combobox binding to each other within the datagrid
http://stackoverflow.com/questions/2990910/wpf-datagrid-combobox-binding-to-each-other-within-the-datagrid

="{Binding ElementName=anotherCombo, Path=SelectedItem.someName
0
 

Author Closing Comment

by:Masterabhi
ID: 36564059
helpful
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question