Click here to Skip to main content
15,891,033 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to dipsly a webform Pin
pmarfleet2-Apr-08 21:01
pmarfleet2-Apr-08 21:01 
GeneralRe: How to dipsly a webform Pin
Krishnraj2-Apr-08 21:05
Krishnraj2-Apr-08 21:05 
GeneralRe: How to dipsly a webform Pin
biswa472-Apr-08 21:20
biswa472-Apr-08 21:20 
GeneralRe: How to dipsly a webform Pin
eyeseetee2-Apr-08 21:30
eyeseetee2-Apr-08 21:30 
GeneralRe: How to dipsly a webform Pin
biswa472-Apr-08 21:36
biswa472-Apr-08 21:36 
GeneralRe: How to dipsly a webform Pin
eyeseetee2-Apr-08 22:30
eyeseetee2-Apr-08 22:30 
GeneralRe: How to dipsly a webform Pin
Krishnraj2-Apr-08 23:10
Krishnraj2-Apr-08 23:10 
Questiondeleting a folder Pin
Soumini Ramakrishnan2-Apr-08 19:47
Soumini Ramakrishnan2-Apr-08 19:47 
I have an aspx website.I am trying to delete one user. While deleting I need to delete all files in one directory named "username" and after that the directory itself. The program deletes the files , but while deleting the directory it throws an exception saying "The directory is not empty". I am using the following code
if (System.IO.Directory.Exists(Server .MapPath ("Albums/username" ))
{
System.IO.Directory.Delete(Server .MapPath ("Albums/username"));
}
If you double click on the folder, you will see an empty one. But if the folder's properties is taken, it shows that it contains a file with size 8 KB.

Note: I am using this folder to store some images.
GeneralRe: deleting a folder Pin
pmarfleet2-Apr-08 20:57
pmarfleet2-Apr-08 20:57 
GeneralRe: deleting a folder Pin
Himanshu Joshi2-Apr-08 21:09
Himanshu Joshi2-Apr-08 21:09 
Questionproblem in sending emails Pin
pediatric2-Apr-08 19:22
pediatric2-Apr-08 19:22 
GeneralRe: problem in sending emails Pin
~V~2-Apr-08 19:57
~V~2-Apr-08 19:57 
QuestionRe: problem in sending emails Pin
pediatric2-Apr-08 21:20
pediatric2-Apr-08 21:20 
Questionexporting to excel from gridview in c# [modified] Pin
Pankaj Garg2-Apr-08 19:06
Pankaj Garg2-Apr-08 19:06 
GeneralRe: exporting to excel from gridview in c# Pin
Herman<T>.Instance14-Apr-08 4:11
Herman<T>.Instance14-Apr-08 4:11 
QuestionSaving table to session after modifying, does it make sense? Pin
AlexeiXX32-Apr-08 17:13
AlexeiXX32-Apr-08 17:13 
AnswerRe: Saving table to session after modifying, does it make sense? Pin
Sandeep Akhare2-Apr-08 21:47
Sandeep Akhare2-Apr-08 21:47 
GeneralThumbnail image in a Gridview Pin
ffowler2-Apr-08 16:33
ffowler2-Apr-08 16:33 
GeneralRe: Thumbnail image in a Gridview Pin
AlexeiXX32-Apr-08 17:03
AlexeiXX32-Apr-08 17:03 
GeneralRe: Thumbnail image in a Gridview Pin
ffowler2-Apr-08 17:13
ffowler2-Apr-08 17:13 
GeneralRe: Thumbnail image in a Gridview Pin
AlexeiXX32-Apr-08 17:15
AlexeiXX32-Apr-08 17:15 
GeneralRe: Thumbnail image in a Gridview Pin
ffowler2-Apr-08 17:21
ffowler2-Apr-08 17:21 
GeneralRe: Thumbnail image in a Gridview Pin
ffowler2-Apr-08 17:23
ffowler2-Apr-08 17:23 
QuestionASP.NET - C# passing a variable to the page with postback Pin
Phivos Stylianides2-Apr-08 15:11
Phivos Stylianides2-Apr-08 15:11 
GeneralRe: ASP.NET - C# passing a variable to the page with postback Pin
ffowler2-Apr-08 16:26
ffowler2-Apr-08 16:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.