What 2 do something like recycle bin & restore my record .

Posted by Prince.pandey7 under ASP.NET on 1/2/2012 | Points: 10 | Views : 912 | Status : [Member] | Replies : 4
hello Everyone ,
As i have multiple form in our project , but the thing is if we delete any of the record it get's deleted . But what i want that if i delete my record then the record should save into my recycle-bin form and after that the value can be Restore to my original position .
Multiple record can be deleted form different , different form. All the record should be save into the recycle-bin form and the value can be restore .

Please Help me...




Responses

Posted by: Skraghava on: 1/2/2012 [Member] Starter | Points: 25

Up
0
Down
Create one flag in the table like IsActive. When ever you delete, set that flag value 0. When ever you want to read move from recycle bin to main data, just make IsActive=1. Display records with only IsActive=1

Thanks and regards,
Raghavendra SK

Prince.pandey7, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prince.pandey7 on: 1/2/2012 [Member] Starter | Points: 25

Up
0
Down
thanks Raghavendra .

Thanks and regards ,
Prince pandey

Prince.pandey7, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Skraghava on: 1/2/2012 [Member] Starter | Points: 25

Up
0
Down
Did that answered your question?

Thanks and regards,
Raghavendra SK

Prince.pandey7, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prince.pandey7 on: 1/2/2012 [Member] Starter | Points: 25

Up
0
Down
got it
i understood the concept

Thnks & regards
prince pandey

Prince.pandey7, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response