Click here to Skip to main content
15,908,768 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to maintain state of treeview after post back? Pin
Sundar_R8-Jan-09 19:02
Sundar_R8-Jan-09 19:02 
GeneralRe: How to maintain state of treeview after post back? Pin
Ravi Munde8-Jan-09 22:00
Ravi Munde8-Jan-09 22:00 
QuestionHow to make Plugins in asp.net ? Pin
Piyush Vardhan Singh8-Jan-09 18:24
Piyush Vardhan Singh8-Jan-09 18:24 
AnswerRe: How to make Plugins in asp.net ? Pin
Abhijit Jana8-Jan-09 19:17
professionalAbhijit Jana8-Jan-09 19:17 
GeneralRe: How to make Plugins in asp.net ? Pin
Piyush Vardhan Singh8-Jan-09 19:42
Piyush Vardhan Singh8-Jan-09 19:42 
QuestionHi....drag and drop Pin
madancode8-Jan-09 18:02
madancode8-Jan-09 18:02 
QuestionProblem encrypt connection strings in web.config Pin
alyy04068-Jan-09 17:46
alyy04068-Jan-09 17:46 
Questionhow do I read a file name located in a specific folder into a C# app Pin
Tina P8-Jan-09 17:27
Tina P8-Jan-09 17:27 
Hey guys,

As the title says, how do I read a file name located in a specific folder into a C# application.

Basically someone will be downloading a file from a website, once the file is downloaded to a particular folder (lets say /VisualStudio2008/Projects/MyProject/bin/Debug/TheDownloadedFile.csv)
then I need to have the name of the file read into my app?

To get to that particular folder, I'm doing system.AppDomain.CurrentDomain.BaseDirectory to get to the actual directory where the file is downloaded to, how to I grab the name of the file and extension from there. I guess the extension could be hard coded once the name of the file is detected and read into the program becaseue it will always be a csv file.

Can someone please help.

Thanks
Tina
AnswerRe: how do I read a file name located in a specific folder into a C# app Pin
Tina P8-Jan-09 18:12
Tina P8-Jan-09 18:12 
QuestionSet Listbox scroll position after Postback Pin
dsrao8-Jan-09 15:58
dsrao8-Jan-09 15:58 
AnswerRe: Set Listbox scroll position after Postback Pin
Rajdev Ramasamy12-Jan-09 2:49
Rajdev Ramasamy12-Jan-09 2:49 
QuestionHyperlink in a TextBox - Possible? Pin
kavitha_blueindia8-Jan-09 13:31
kavitha_blueindia8-Jan-09 13:31 
AnswerRe: Hyperlink in a TextBox - Possible? Pin
Not Active8-Jan-09 17:13
mentorNot Active8-Jan-09 17:13 
AnswerRe: Hyperlink in a TextBox - Possible? Pin
Rajdev Ramasamy12-Jan-09 2:11
Rajdev Ramasamy12-Jan-09 2:11 
QuestionHelp on ecommerce web programming Pin
atplerry8-Jan-09 13:02
atplerry8-Jan-09 13:02 
AnswerRe: Help on ecommerce web programming Pin
Not Active8-Jan-09 17:19
mentorNot Active8-Jan-09 17:19 
GeneralRe: Help on ecommerce web programming Pin
atplerry12-Jan-09 0:37
atplerry12-Jan-09 0:37 
QuestionWhy does web.config automatically save itself? Pin
Tomz_KV8-Jan-09 10:06
Tomz_KV8-Jan-09 10:06 
AnswerRe: Why does web.config automatically save itself? Pin
Jon Rista8-Jan-09 10:18
Jon Rista8-Jan-09 10:18 
QuestionBest third party components suite for Asp.Net Ajax Pin
lotuzwine8-Jan-09 9:57
lotuzwine8-Jan-09 9:57 
AnswerRe: Best third party components suite for Asp.Net Ajax Pin
ToddHileHoffer8-Jan-09 10:19
ToddHileHoffer8-Jan-09 10:19 
GeneralRe: Best third party components suite for Asp.Net Ajax Pin
lotuzwine9-Jan-09 1:40
lotuzwine9-Jan-09 1:40 
QuestionSaving data from a placeholder control [modified] Pin
AllPhee8-Jan-09 4:41
AllPhee8-Jan-09 4:41 
AnswerRe: Saving data from a placeholder control Pin
Not Active8-Jan-09 5:35
mentorNot Active8-Jan-09 5:35 
GeneralRe: Saving data from a placeholder control Pin
ToddHileHoffer8-Jan-09 6:06
ToddHileHoffer8-Jan-09 6:06 

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.