Solved

How to bind two columns in datagrid in wpf

Posted on 2011-09-12
2
473 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

751 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