How do I assign selected WPF datagrid row columns to variables. (VB.NET)
- by Peter
Hi,
I have a datagrid with customer data such as ID, name, email, phone etc.
When I select a row (with a button or selectionchanged) I want to store that row's columns in variables like
dim email as string
dim name as string
email = dgCustomers.theselectedrow.theselectedcell
name = dgCustomers.theselectedrow.theselectedcell
If I have a datatable…