Author: Mareczekkk | Posted on: 8/29/2009 5:12:05 AM | Views : 219

HI, I have written web applications which downloads file from database. And I have question how can I make download window while downloading??? like this (example for mozilla firefox):



this is my C# code:
String num = Request.QueryString["ImageId"]; if (Request.QueryString["ImageId"] != null) { String strConnString = "User Id=Mario;Password=pass;Data Source=orcl"; OracleConnection conn = new OracleConnection(strConnString); string strQuery = "SELECT movie FROM movies WHERE ID='" + num + "'"; OracleCommand cmd = new OracleCommand(strQuery, conn); conn.Open(); OracleDataReader reader = cmd.ExecuteReader(); if (reader.Read()) ...

Go to the complete details ...