Re: Urgent ??? - Update Data Source

From: Jon Skeet [C# MVP] (skeet_at_pobox.com)
Date: 03/18/04


Date: Thu, 18 Mar 2004 14:23:22 -0000

Lianna <anonymous@discussions.microsoft.com> wrote:
> I'm facing problem to update the data source after I make changes to
> the data table. I try to call DataAdapter.Update() to transmit the
> changes cached in DataSet to the database, but it didn't work ???
>
> Can any one help me ??? Bekow are the full program can anyone please
> kind to check for me, I've been try to solve this problems more than
> 5 days

You're currently just dropping any SQL CE exception which is thrown by
update. I suggest that instead, you put a breakpoint in the code and
see whether an exception is being thrown, and if it is, what that
exception is.

-- 
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too


Relevant Pages

  • InvalidOperationException with DataGridView bound to object data source
    ... DataGridView and an object data source in 2.0. ... public class Widget ... Compile the project so the data source wizard can find the Widget ... exception is only thrown when canceling the edit of a new first row, ...
    (microsoft.public.dotnet.framework)
  • Problems when using extendeddatagrid
    ... to display data from a DataSet. ... However it returns an exception during ... It won't happen when the data source is my self defined Objectas ... ApplicationContext context) ...
    (microsoft.public.dotnet.languages.vb.controls)
  • Query:JMS
    ... I am facing problem ... When i run the program it generates the following exception .So tell ... SEVERE ConnectionFactoryImpl: Failed to lookup or connect to JMS ...
    (comp.lang.java.databases)
  • Please Urgent - Update Data Source Problem ???
    ... I'm facing problem to update the data source after I make changes to the data table. ... I try to call DataAdapter.Updateto transmit the changes cached in DataSet to the database, ... namespace UpdateDB ...
    (microsoft.public.dotnet.framework.compactframework)
  • Urgent ??? - Update Data Source
    ... I'm facing problem to update the data source after I make changes to the data table. ... I try to call DataAdapter.Updateto transmit the changes cached in DataSet to the database, ... namespace UpdateDB ...
    (microsoft.public.dotnet.framework.compactframework)