Hi,

I need to delete all the selected records from a Datagrid, but i cannot seem
to work out how from code you can tell what records are selected in order to
build my adapter delete command?

Any help would be great.

thanks

Darryn

Re: Datagrid Multi Row Select??? by Val

Val
Wed Sep 08 20:42:35 CDT 2004

Hi Darryn,

When you delete rows in a DataTable, then all those rows just marked as
deleted. When DataAdapter call Delete command, then it just executes
specified SQL statement for each row in a DataTable, which is marked as
deleted and you should not specify any additional information to the
DataAdapter

--
Val Mazur
Microsoft MVP


"Darryn Ross" <darryn@datawave.com.au> wrote in message
news:udT1AGglEHA.2884@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> I need to delete all the selected records from a Datagrid, but i cannot
> seem
> to work out how from code you can tell what records are selected in order
> to
> build my adapter delete command?
>
> Any help would be great.
>
> thanks
>
> Darryn
>
>