Re: Update data without SQL statement

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Miha Markic [MVP C#] (miha)
Date: 06/15/04


Date: Tue, 15 Jun 2004 22:42:48 +0200

Hi,

No, but VS.NET wizards create all the code you need in this case.
Just drag&drop the table in question on the form, right click on adapter,
generate dataset.
The table should have primary key, of course.

-- 
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com
"rkmoray" <rkmoray@aol-dot-com.no-spam.invalid> wrote in message
news:40cf5594$1_2@Usenet.com...
> I want to update a table without using a sql statement.
> I am hoping for something similar to ado update.
>
> ds.Tables[0].Rows[x] ["authorid"] = "Rick"
> ds.update
>
> is something like this possible?
>
>
>  Posted Via Usenet.com Premium Usenet Newsgroup Services
> ----------------------------------------------------------
>     ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
> ---------------------------------------------------------- 
>                 http://www.usenet.com


Relevant Pages

  • Re: IP release & renew
    ... You will need to know the index of the adapter and its ... > I'm completely stuck in IP APIs... ... > NGs, MSDN, wizards, holy spirits, but... ...
    (microsoft.public.dotnet.framework.compactframework)
  • Generate dataset.
    ... All data controls and wizards ... adapter or dataviewer disappear in the IDE. ... After i try to use previous generated adapter, ...
    (microsoft.public.dotnet.languages.vb)