I need to download file from web server, without using save
as dialogue box. Can anyone help, thanks In advance.
for save as dialoge box use this code
Response.ClearContent();
//give file type
Response.ContentType = "video/.wmv";
Response.AddHeader("content-disposition", "attachment;
filename=download.wmv");
string filename1 = @"E:\xyz.wmv";
Response.TransmitFile(filename1);
but if you need to download file without user interaction
then please refer to this link
http://www.devarticles.com/c/a/ASP.NET/HTTP-File-Download-
Without-User-Interaction-Using-.NET/
Is This Answer Correct ? | 3 Yes | 0 No |
Can the action attribute of a server-side tag be set to a value and if not how can you possibly pass data from a form page to a subsequent page?
What is session id in web application?
what is the difference b/w .net 1.1 and 2.0 ?
How to disable SOAP1.2 in Web Services?
Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?
What is difference between session and cookies?
Explain about secure socket layer?
How to check null values in dataset ?
Explain how can we inherit a static member?
Hi, I am developing an application (quiz engine) using C# in Dot net. My problem is I am designing the selction option using radio button. So, I want to retrive the data from the database to the radiobutton option. And also please tell me the how to compare the correct answer option with Answer selected by the users. If any body knows or have done this before please Help me out. My mail id is get_rome@yahoo.co.in. Table format: Question Id Queston Option1 Option 2 Option 3 Option 4 Correct answer 1 What is ur name? My name is ….. My name …. My name …. My name …. My name is tom
how to use html code in asp source code?
If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?