Click here to Skip to main content
15,888,037 members
Home / Discussions / C#
   

C#

 
QuestionSynchronized painting Pin
magja27-Mar-06 1:33
magja27-Mar-06 1:33 
Question.NET profiling -- request recommendation Pin
spin vector27-Mar-06 1:19
spin vector27-Mar-06 1:19 
AnswerRe: .NET profiling -- request recommendation Pin
Nicholas Butler27-Mar-06 1:46
sitebuilderNicholas Butler27-Mar-06 1:46 
QuestionC# - Crystal Reports Problem Pin
Abhijeet Ballal27-Mar-06 0:44
Abhijeet Ballal27-Mar-06 0:44 
AnswerRe: C# - Crystal Reports Problem Pin
V.27-Mar-06 1:11
professionalV.27-Mar-06 1:11 
GeneralRe: C# - Crystal Reports Problem Pin
Abhijeet Ballal27-Mar-06 1:25
Abhijeet Ballal27-Mar-06 1:25 
GeneralRe: C# - Crystal Reports Problem Pin
V.27-Mar-06 1:30
professionalV.27-Mar-06 1:30 
QuestionDownloading a File Pin
SreekanthJ27-Mar-06 0:31
SreekanthJ27-Mar-06 0:31 
string zipFileName=@"d:\sample.txt";
System.IO.FileInfo file = new System.IO.FileInfo(zipFileName);
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name);
Response.AddHeader("Content-Length", file.Length.ToString());
Response.ContentType = "application/octet-stream";
Response.WriteFile(file.FullName);
Response.End();
Response.Write("Downloaded successfully");

The above code is working pretty good for file download but i want to execute the last statement.How to display that message.

SreekanthJ

-- modified at 6:32 Monday 27th March, 2006
AnswerRe: Downloading a File Pin
Guffa27-Mar-06 2:52
Guffa27-Mar-06 2:52 
QuestionLike in Outlook Pin
naglbitur26-Mar-06 23:23
naglbitur26-Mar-06 23:23 
AnswerRe: Like in Outlook Pin
HakunaMatada26-Mar-06 23:55
HakunaMatada26-Mar-06 23:55 
GeneralRe: Like in Outlook Pin
naglbitur27-Mar-06 4:47
naglbitur27-Mar-06 4:47 
QuestionHow hard can it be..? Pin
magja26-Mar-06 23:08
magja26-Mar-06 23:08 
AnswerRe: How hard can it be..? Pin
mav.northwind27-Mar-06 0:42
mav.northwind27-Mar-06 0:42 
AnswerRe: How hard can it be..? Pin
V.27-Mar-06 1:08
professionalV.27-Mar-06 1:08 
QuestionProblem with int Pin
AnhTin26-Mar-06 23:07
AnhTin26-Mar-06 23:07 
AnswerRe: Problem with int Pin
Guffa26-Mar-06 23:17
Guffa26-Mar-06 23:17 
AnswerRe: Problem with int Pin
Stefan Troschuetz26-Mar-06 23:21
Stefan Troschuetz26-Mar-06 23:21 
QuestionHow can I unload the assembly in c# Pin
sinbao26-Mar-06 22:22
sinbao26-Mar-06 22:22 
AnswerRe: How can I unload the assembly in c# Pin
leppie26-Mar-06 23:26
leppie26-Mar-06 23:26 
GeneralRe: How can I unload the assembly in c# Pin
sinbao30-Mar-06 1:27
sinbao30-Mar-06 1:27 
AnswerRe: How can I unload the assembly in c# Pin
Nicholas Butler27-Mar-06 1:35
sitebuilderNicholas Butler27-Mar-06 1:35 
Questionhow to write a sliding number code?? Pin
wadever4ever26-Mar-06 22:18
wadever4ever26-Mar-06 22:18 
GeneralRe: how to write a sliding number code?? Pin
Guffa26-Mar-06 22:53
Guffa26-Mar-06 22:53 
QuestionNot eble to call AJAX method.... Pin
Jax_qqq26-Mar-06 21:30
Jax_qqq26-Mar-06 21:30 

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.