Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 27th, 2006, 09:25 PM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default create recycle bin

friends i want to create a recycle bin in my application.supose if i have delete anything then it should be store in recycle bin in my application.any idea?????????????

  #2 (permalink)  
Old December 6th, 2006, 06:40 PM
Authorized User
 
Join Date: Sep 2006
Location: Sunrise, FL, USA.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Without knowing more about the applications requirements, my only suggestion would be to create a running "history" table that you write the information to prior to it being deleted.

Then you could provide a separate area where the user could "retrieve" the "deleted" data.

  #3 (permalink)  
Old December 8th, 2006, 03:38 PM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thx pbranumfl
i have tryed that.i m new to asp.net environment.
i m doing web application i.e. content management system and in that for admin he can doing changes in all files.like update edit delete etc.but supose if he delete any file then it should be go into recycle bin in.but recycle bin want in that application not system recycle bin.if u have any idea then help me.

regards
abaso jadhav

  #4 (permalink)  
Old December 11th, 2006, 04:51 PM
Authorized User
 
Join Date: Sep 2006
Location: Sunrise, FL, USA.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry, I didn't realize we were talking about deleting items in the file system.

In that case, I would create a special folder whose only purpose is to store "deleted" files & then have a log file (or history table like I mentioned originally) that kept a record of the items that were "deleted" (moved to the folder mentioned above).

There may be a way to programmatically access the servers Recycle Bin, but I do not know what it is.



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bin, App_code path problem jo5h209 ASP.NET 2.0 Basics 2 August 2nd, 2007 07:31 AM
Restore file from Recycle Bin eelisMX Pro VB.NET 2002/2003 0 December 8th, 2006 09:53 AM
Regarding Bin folder creation in ASP.NET 2.0 param99 ASP.NET 2.0 Basics 0 September 5th, 2006 06:45 AM
how to read bin file backward arabuafef Need help with your homework? 1 March 21st, 2006 07:29 PM
msiloadr.bin is spyware???? nfollmer Intro Programming 0 February 3rd, 2006 03:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.