Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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?????????????

Reply With Quote
  #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.

Reply With Quote
  #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

Reply With Quote
  #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.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 03:16 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.