PC Review


Reply
Thread Tools Rate Thread

Datagrid row select

 
 
=?Utf-8?B?VmFydW4=?=
Guest
Posts: n/a
 
      18th May 2004
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
 
Reply With Quote
 
 
 
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      18th May 2004
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



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Q: DataGrid Select Geoff Microsoft VB .NET 4 1st Feb 2006 02:40 PM
How to Select Datagrid Row =?Utf-8?B?c2FraWVib3k=?= Microsoft ASP .NET 4 10th Aug 2005 08:50 PM
Re: DataGrid - Select Row!!! =?Utf-8?B?ZG90bmV0a3VtYXI=?= Microsoft ASP .NET 1 4th Aug 2005 11:07 AM
select row only in datagrid? Tarren Microsoft VB .NET 2 23rd Jun 2004 04:34 PM
Datagrid select Todd Lu Microsoft VB .NET 0 10th Nov 2003 01:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:07 AM.