Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting Row from GridView
Message
De
26/03/2010 13:48:38
 
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01457427
Message ID:
01457524
Vues:
33
>>>Frank,
>>>
>>>I think I solved this exact problem before (though in plain ASP.NET, not in MM.NET). I must have posted some code here, I think, or let me know if you need it and I'll search in a project.
>>>
>>
>>Naomi,
>>
>>if you could find the code for me I'd appreciate it.
>
>Found my older discussion on this topic Re: 'Refreshing' SQLDataSource with new data Thread #1346714 Message #1346766 which may be of some help.

Thanks,

the AcceptChanges() stops the error occurring, but then when I save the entire form, the record does not get deleted from the database, I guess because the row is no longer in the dataset so MM.NET does not know it has to do anything with it. Hmm. Maybe I'll have to go with Bob's suggestion (which I use elsewhere in the system).
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform