Hi Bruce,
I think you had known this, just a kind remind,
You need call SqlDataAdapter.Update method and provide the correct dataset
for it.
Thanks!
Best regards,
Ying-Shen Yu [MSFT]
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties and confers no rights.
You should not reply this mail directly, "Online" should be removed before
sending.
--------------------
| Newsgroups: microsoft.public.dotnet.framework.windowsforms
| From: (e-mail address removed) ("Ying-Shen Yu[MSFT]")
| Organization: Microsoft
| Date: Thu, 13 Nov 2003 08:22:49 GMT
| Subject: RE: saving data to dataTable
| X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
|
| Hi Bruce,
|
| Thanks for your post!
|
| I aggree with Roy, it seems the update command is not actually executed
on
| the sql server.
| You may re-run the Genereate data wizard, and check if the UPDATE command
| is genereated
| successfully.
|
| If it is all successful and the problem still exists, you may send me a
| small project to reproduce your problem. I'll look into it.
| Thanks!
|
|
|
|
| Best regards,
|
| Ying-Shen Yu [MSFT]
| Microsoft Online Partner Support
| Get Secure! -
www.microsoft.com/security
|
| This posting is provided "AS IS" with no warranties and confers no rights.
| You should not reply this mail directly, "Online" should be removed
before
| sending.
|
| --------------------
| | Content-Class: urn:content-classes:message
| | From: "Bruce L. Scheffler" <
[email protected]>
| | Sender: "Bruce L. Scheffler" <
[email protected]>
| | Subject: saving data to dataTable
| | Date: Wed, 12 Nov 2003 04:02:23 -0800
| | Lines: 8
| | Message-ID: <
[email protected]>
| | MIME-Version: 1.0
| | Content-Type: text/plain;
| | charset="iso-8859-1"
| | Content-Transfer-Encoding: 7bit
| | X-Newsreader: Microsoft CDO for Windows 2000
| | X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| | Thread-Index: AcOpFNUNkGcRh3gPSceX6yuwaOa7mQ==
| | Newsgroups: microsoft.public.dotnet.framework.windowsforms
| | Path: cpmsftngxa06.phx.gbl
| | Xref: cpmsftngxa06.phx.gbl
| microsoft.public.dotnet.framework.windowsforms:56349
| | NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
| | X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms
| |
| | I have a form that I have placed an sqlconnect,
| | sqladapter, and created an dataset. I have no problem
| | filling the dataset, the fields have are binded to the
| | table; however when I try to save the data after changes
| | have been made no update is done to the orginal table. I
| | can see in the SqlDataAdapter the code has been written
| | for all the different commands including the update
| | command. What am I doing wrong?
| |
|