Solved

How to bind two columns in datagrid in wpf

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Video Player 11 23
VB.NET 2008 Publish Error 2 27
Create a WebAPI using a generic return parameter 9 25
C# LINQ ForEach() question 6 28
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.
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

803 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