Click here to Skip to main content
15,921,694 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to access the data grid com box in data grid view?i want to fill the dynamic value in the combo box .give some example code.please
Posted
Comments
Kuthuparakkal 23-Jan-13 0:06am    
unclear, need the code you tried, error msg etc. Please do not post vague questions and nobody here to code for you

ComboBox in WPF’s DataGrid through XAML [^] should provide you with a solution.

WPF Custom ComboBox[^] should help you out as well.

A bunch of tutorials here[^] could help you get started.
 
Share this answer
 
XML
<DataGrid >
    <DataGrid.Columns>
        <datagridcomboboxcolumn x:name="comboNew" xmlns:x="#unknown" />
    </DataGrid.Columns>
</DataGrid>


code behind:
C#
this.comboNew.ItemsSource=//give your itemsource.
 
Share this answer
 
Comments
kalisiddayya 23-Jan-13 6:17am    
The property 'name' does not exist in XML namespace '#unknown'. error is coming

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900