Re: Update data without SQL statement
From: Miha Markic [MVP C#] (miha)
Date: 06/15/04
- Next message: Kevin: "Program crashes when network goes down and back up"
- Previous message: rkmoray: "Update data without SQL statement"
- In reply to: rkmoray: "Update data without SQL statement"
- Next in thread: Earl: "Re: Update data without SQL statement"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Kevin: "Program crashes when network goes down and back up"
- Previous message: rkmoray: "Update data without SQL statement"
- In reply to: rkmoray: "Update data without SQL statement"
- Next in thread: Earl: "Re: Update data without SQL statement"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|