Re: Execute SQL statement on Dataset
- From: "Marina" <someone@xxxxxxxxxx>
- Date: Fri, 13 May 2005 09:02:20 -0400
I said you cannot execute update statements on a dataset like that. And you
cannot do that!
There are obviously ways to accomplish that. But I assumed the original
question was regarding literally executing SQL statements on the dataset -
which is not possible.
"Scott M." <s-mar@xxxxxxxxxxxxx> wrote in message
news:u754rD2VFHA.2124@xxxxxxxxxxxxxxxxxxxxxxx
> >While you can use the "Select" method/property against a table, to find a
> >subset of the rows, this will not permit one to execute an action against
> >all of those rows--not without visiting each one.
>
> So, is this not a way to do it? The question was "Is there a way to
> execute SQL statement on a Dataset?" The Select method allows for a SQL
> type of criteria to be used. Granted it must be accompanied by DataTable
> techniques for row movement, it does allow for SQL type statements to be
> used in conjunction with a DataTable.
>
> I was responding to Marina who said "You can't do anything like that." .
> You most certainly can.
>
>
>
.
- References:
- Execute SQL statement on Dataset
- From: pierrev
- Re: Execute SQL statement on Dataset
- From: Marina
- Re: Execute SQL statement on Dataset
- From: Scott M.
- Re: Execute SQL statement on Dataset
- From: William \(Bill\) Vaughn
- Re: Execute SQL statement on Dataset
- From: Scott M.
- Execute SQL statement on Dataset
- Prev by Date: Re: Parameters Question
- Next by Date: Re: SCOPE_IDENTITY() in c# and no stored procedure...
- Previous by thread: Re: Execute SQL statement on Dataset
- Next by thread: Re: Execute SQL statement on Dataset
- Index(es):
Relevant Pages
|