Re: Revisiting the datagrid data relation issue

From: Kevin Yu [MSFT] (v-kevy_at_online.microsoft.com)
Date: 08/12/04


Date: Thu, 12 Aug 2004 07:57:21 GMT

Hi Earl,

Based on your description, I think the exception is thrown when you call
SqlDataAdapter.Update method. Generally, when an exception is thrown during
update method, we can try to handle SqlDataAdapter.RowUpdating event for
troubleshooting.

We can get the executing command object through
SqlRowUpdatingEventArgs.Command property. Please try to check the
CommandText to see whether the updating command is correct.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."



Relevant Pages

  • CommandTimeout with DB2 not working
    ... I'm using ADO to connect to a DB2 v8.1.5 db running on Linux RH 3.0. ... The problem I'm seeing is no exception is thrown when the command ... I then expect to catch an exception if the command takes longer than ...
    (microsoft.public.data.ado)
  • DataAdapter Update method throws DBConcurrencyException
    ... Add new DataRow to Datatable -> Call DataAdapter Update Method (checked DB ... DataTable -> Update method called on DataAdapter -> Exception thrown. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Validating file names
    ... running Novel, from your G: running Linux file system, from your H: running ... I am not saying one does not exist! ... file file and handle any exceptions that were thrown. ... If an exception is thrown then the specified ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Using an ActiveX ocx control on a Webform
    ... > download the ActiveX I can Automate the ActiveX object through the ... > Exception of type InvalidActiveXStateException was thrown. ... > tried using the item in the design mode of a regular .NET Windows ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Exception-Objekt freigeben
    ... When an exception is thrown, the exception object that is thrown is destroyed ... we have added the AcquireExceptionObject and ReleaseExceptionObject functions. ... then the thrown object is not destroyed by the RTL, but assumed to be in control ...
    (de.comp.lang.delphi.misc)