Hi,
http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q775q
Ken
--------------------
"Varun" <(E-Mail Removed)> wrote in message
news:5CD0CC88-81D4-4B73-A482-(E-Mail Removed)...
> 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