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
Solved

How to bind two columns in datagrid in wpf

Posted on 2011-09-12
2
471 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
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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Suggested Solutions

Title # Comments Views Activity
Syntax Issue with SSIS module 26 104
Generate Unique ID in VB.NET 21 62
Groupbox Control ? 2 18
IDE for Python 5 21
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

837 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