G
Guest
C# Datagrid Newbie:
Hello,
I am trying to get the value the user selected from a Datagrid. Here’s what
I got:
Update_SKU_Status = DataGrid_Update_SKU_Status.SelectedIndex.ToString();
It returns the index. Which is not very user friendly.
I have tried:
Update_SKU_Status = DataGrid_Update_SKU_Status.SelectedItem.ToString();
But returns an error msg.
I’m sure there’s an easy way to do this & I’m just blinded!!!
Your assistance is much appreciated!!
Hello,
I am trying to get the value the user selected from a Datagrid. Here’s what
I got:
Update_SKU_Status = DataGrid_Update_SKU_Status.SelectedIndex.ToString();
It returns the index. Which is not very user friendly.
I have tried:
Update_SKU_Status = DataGrid_Update_SKU_Status.SelectedItem.ToString();
But returns an error msg.
I’m sure there’s an easy way to do this & I’m just blinded!!!
Your assistance is much appreciated!!