Click here to Skip to main content
15,908,906 members
Home / Discussions / C#
   

C#

 
GeneralRe: how can i get the last word from the string Pin
Mycroft Holmes13-Sep-08 21:51
professionalMycroft Holmes13-Sep-08 21:51 
GeneralRe: how can i get the last word from the string Pin
#realJSOP14-Sep-08 2:12
professional#realJSOP14-Sep-08 2:12 
GeneralRe: how can i get the last word from the string Pin
Mohammad Dayyan14-Sep-08 2:15
Mohammad Dayyan14-Sep-08 2:15 
GeneralRe: how can i get the last word from the string Pin
Eslam Afifi14-Sep-08 5:18
Eslam Afifi14-Sep-08 5:18 
GeneralRe: how can i get the last word from the string Pin
#realJSOP14-Sep-08 5:46
professional#realJSOP14-Sep-08 5:46 
GeneralRe: how can i get the last word from the string Pin
Eslam Afifi14-Sep-08 7:09
Eslam Afifi14-Sep-08 7:09 
AnswerRe: how can i get the last word from the string Pin
Shweta Gulati14-Sep-08 18:26
Shweta Gulati14-Sep-08 18:26 
QuestionSend File As Download After Complete? [modified] Pin
Arcdigital13-Sep-08 15:28
Arcdigital13-Sep-08 15:28 
Hey, I was wondering how I can send a file download after my class is complete.
I have a C# + ASP.NET site. I have a Button1_Click class. When that is run it copies some files, does some things and eventually creates a zip file. How do I send that zip file to the user as a download? E.G. I want it to
1) User clicks button
2) Server does what it needs to do
3) User gets a file download popup with the zip file that was created in step 2.

All I need help with is #3.
Thanks!!,
Anand

P.S. I've looked into Response.BinaryWrite but I'm not sure if that is it.

modified on Saturday, September 13, 2008 9:41 PM

AnswerRe: Send File As Download After Complete? Pin
Anthony Mushrow13-Sep-08 16:20
professionalAnthony Mushrow13-Sep-08 16:20 
QuestionA Drag-n-Drop question ? Pin
Mohammad Dayyan13-Sep-08 12:29
Mohammad Dayyan13-Sep-08 12:29 
AnswerRe: A Drag-n-Drop question ? Pin
Anthony Mushrow13-Sep-08 16:17
professionalAnthony Mushrow13-Sep-08 16:17 
GeneralRe: A Drag-n-Drop question ? Pin
Mohammad Dayyan14-Sep-08 0:50
Mohammad Dayyan14-Sep-08 0:50 
QuestionInsert Command and access database Pin
Sourie13-Sep-08 7:53
Sourie13-Sep-08 7:53 
AnswerRe: Insert Command and access database Pin
Mbah Dhaim13-Sep-08 8:59
Mbah Dhaim13-Sep-08 8:59 
GeneralRe: Insert Command and access database Pin
Sourie13-Sep-08 17:11
Sourie13-Sep-08 17:11 
GeneralRe: Insert Command and access database Pin
Blue_Boy13-Sep-08 20:13
Blue_Boy13-Sep-08 20:13 
GeneralRe: Insert Command and access database Pin
Sourie13-Sep-08 21:45
Sourie13-Sep-08 21:45 
GeneralRe: Insert Command and access database Pin
Blue_Boy13-Sep-08 23:50
Blue_Boy13-Sep-08 23:50 
GeneralRe: Insert Command and access database Pin
Sourie14-Sep-08 1:18
Sourie14-Sep-08 1:18 
GeneralRe: Insert Command and access database Pin
Blue_Boy14-Sep-08 3:05
Blue_Boy14-Sep-08 3:05 
GeneralRe: Insert Command and access database Pin
Sourie14-Sep-08 4:16
Sourie14-Sep-08 4:16 
GeneralRe: Insert Command and access database Pin
Mbah Dhaim14-Sep-08 4:22
Mbah Dhaim14-Sep-08 4:22 
GeneralRe: Insert Command and access database Pin
Sourie14-Sep-08 4:34
Sourie14-Sep-08 4:34 
GeneralRe: Insert Command and access database Pin
Mbah Dhaim14-Sep-08 4:47
Mbah Dhaim14-Sep-08 4:47 
GeneralRe: Insert Command and access database Pin
Sourie14-Sep-08 8:47
Sourie14-Sep-08 8:47 

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.