Try this,
Byte[] bytes = (Byte[])dt.Rows[0]["column name"];
Response.Buffer = true;
Response.Charse t = "";
Response.Cache. SetCacheability (HttpCacheabili ty.NoCache);
Response.Conten tType = dt.Rows[0]["column name"].ToString();
Response.AddHea der("content-disposition", "inline;filenam e=" + dt.Rows[0]["column name"]);...
User Profile
Collapse
Leave a comment: