I am searching a simple method through which i can bind my DataGridColumn with a Datatable columns on the fly. I should also be able to define the width of each column.
Example :-
If My program generates 5 columns in a datatable, so the DataGrid should be able to dispaly 5 columns with each having different column width.