Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting Row from GridView
Message
From
26/03/2010 13:48:38
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01457427
Message ID:
01457524
Views:
32
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform