G
Guest
Hi
I wanted to create functionality to display a message box to the user if a row has not been selected from a datagrid
i.e i want to provide the user with a delete row function
If the user selects a row and presses a delete button, a message box is displayed to the user stating that the selected row will be removed from the datagrid.
If however the user doesnt select a row, i want a message box stating that all the rows will be deleted from the datagird
What im confused on is how i write code to check if no row has been selected. Can anyone plz help me with this
Many thx
I wanted to create functionality to display a message box to the user if a row has not been selected from a datagrid
i.e i want to provide the user with a delete row function
If the user selects a row and presses a delete button, a message box is displayed to the user stating that the selected row will be removed from the datagrid.
If however the user doesnt select a row, i want a message box stating that all the rows will be deleted from the datagird
What im confused on is how i write code to check if no row has been selected. Can anyone plz help me with this
Many thx