Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scatter/Gather with DataRow & DataSet
Message
From
16/09/2008 15:30:36
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01348001
Message ID:
01348014
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
>>Hi everybody,
>>
>>My idea is to be able to save a Row before deleting it and be able to restore it from the saved copy. However, my attempts so far have been unsuccessful (as well as google searches). Can you please tell me how can this be done (if the functionality is possible)?
>>
>>Thanks a lot in advance.
>
>Anyone? Is it possible at all to operate with DataSet using individual records? I've read this article in the meantime
>http://www.vsj.co.uk/dotnet/display.asp?id=333 , my alternative solution would be to save the whole DS before deleting a row in XML and then in Undelete restore it, but why I can not make the simple record level save/restore funcitonality to work? Also why I can not find any good examples? It could not be that I'm the only one with this simple question.

After reading your paragraph above, I realize I didn't know what you were attempting to do when I replied earlier. Couldn't you create another dataset but only add those rows that you delete in the first?

Maybe 'clone' the recordset without writing to a file or just referencing the initial recordset?

http://www.vbrad.com/article.aspx?id=12

I'll be watching because I find this interesting.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform