Click here to Skip to main content
15,911,039 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
Good day for everybody,
It is possible to take an cell (item or subitem) of my DataGrid and remove (erase) the cell selected?

In another word, how i can selected one or many cells of my DataGrid and then clicking a button "REMOVE" to erase my selection.

What is the rutine, instructions that i need use for this goal?

By the way, my DataGrid is composed by 6 columns.

Question: why it doesn't exist DataGridView in my application?

Application WPF, VB.NET
Thank you
Posted

1 solution

Ans : DataGridView is not wpf control. Its a window form control .

To add datagridview control in wpf you will add to some refernece and have to add under WindowFormHost.

If you need complete solution how to add datagridview in wpf .. i can give you all details
 
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