I have a project where must import data from excel to an SQL database, Excel info is not formatted and must be validated and paired to SQL column's table into my app.
I have a ListView where SQL columns are represented, and a Datagrid (AutoGenerateColumns = true) where excel info is represented.
Now user must pair ListView Items with DataGrid columns, I 'm trying to do it using DragDrop, all at ListView Is done, but Datagrid is generated dynamically and can't program each column to Set DragDrop operations.
How Can I Do To set DragDrop operations over those autogenerated DataGridColumns ?
Any Suggestions ?
I was looking for DataGrid property where I can force DataGrid to use my own ImporDataGridColumn : DataGridColumn But can't found where to do it.
UPDATE: Finally Can add my own columns but now can't found AllowDrop on columns.... what a Nightmare.