Click here to Skip to main content
15,887,867 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In c# we can assign values to particular column like the code below
VB
dataGridName.Rows[row].Cells["colName"].Value="value"

but how to implement same mechanism in WPF?
Posted
Updated 2-May-14 3:11am
v2
Comments
[no name] 2-May-14 10:25am    
http://www.codeproject.com/Articles/30905/WPF-DataGrid-Practical-Examples

In WPF, the ideal way to bind records to a datagrid is by using Binding.
Here are some examples -
WPF Dynamically Generated DataGrid[^]
DataGrid Tutorial[^]
 
Share this answer
 

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