Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug? relating to ImmediateDelete = false
Message
De
18/12/2008 14:04:18
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
18/12/2008 12:33:47
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01367909
Message ID:
01368607
Vues:
9
>>I am getting a "There is no row at position -1" application exception error under the following circumstances:
>>
>>I set ImmediateDelete = false in ABusinessObject because I want deletes to be applied to the backend tables only when I Save changes.
>>
>>I use a MaintenanceForm to select one record and immediately click the delete button to delete that single record. I confirm that I do want to delete the record.
>>
>>I then click the Save button (or the Close button and then confirm that I do want to save the changes) to apply the deletion to the backend table.
>>
>>Then I get the "There is no row at position -1" application exception error.
>>
>>This procedure is so simple to reproduce I am surprised that the problem has not been fixed already. I am using the most recent version.
>
>Does anyone have a solution to this BUG? Kevin?

Hi Sam,

I haven't had the opportunity to use or need this feature so can't help. I was wondering if you had stepped through the code to see why it wasn't working correctly? Is the data not getting posted back to the business object after the save so there is no rows?
Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform