April 30th, 2010, 02:42 AM
Generating column in WPF dynamically
I have a data table with 5 columns
Col1,Col2,Col3,Col4,Col5 .I have to create a datagrid in wpf dynamically where the data of col3 will be header 1.e
Col1 Col2 Col3 Col4 Col5
A B C D E
F G H I J
Depending on the above datatable my datagrid have three column one is the number and two as there are two rows in the datatable and the header of those columns will be the data of Col3.
column1 C H
Now upto this it is ok my problem is that in datagrid column c i have to display data of datatable Col4, Col5,Col2 any hints i am creating the datgrid dynamically .
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!