Click here to Skip to main content
15,893,668 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Upload Web Application on Server Pin
Tarun Dudhatra29-Oct-07 1:21
Tarun Dudhatra29-Oct-07 1:21 
AnswerRe: Upload Web Application on Server Pin
Braulio Dez29-Oct-07 4:16
Braulio Dez29-Oct-07 4:16 
QuestionStoring & retrieving swf file from sql server Pin
Tarun Dudhatra29-Oct-07 0:30
Tarun Dudhatra29-Oct-07 0:30 
AnswerRe: Storing & retrieving swf file from sql server Pin
N a v a n e e t h29-Oct-07 0:39
N a v a n e e t h29-Oct-07 0:39 
GeneralRe: Storing & retrieving swf file from sql server Pin
Tarun Dudhatra29-Oct-07 0:44
Tarun Dudhatra29-Oct-07 0:44 
GeneralRe: Storing & retrieving swf file from sql server Pin
N a v a n e e t h29-Oct-07 0:51
N a v a n e e t h29-Oct-07 0:51 
GeneralRe: Storing & retrieving swf file from sql server Pin
Tarun Dudhatra29-Oct-07 0:58
Tarun Dudhatra29-Oct-07 0:58 
GeneralRe: Storing & retrieving swf file from sql server Pin
N a v a n e e t h29-Oct-07 1:02
N a v a n e e t h29-Oct-07 1:02 
TarDuk wrote:
if (Dr.Read())
{
byte[] imageData = (byte[])Dr[0];
MemoryStream memStream = new MemoryStream(imageData);
image = System.Drawing.Image.FromStream(memStream);
}
return image;
}


Replace this with
byte[] imageData = (byte[])Dr[0];
Response.ContentType = //as you set
Response.BinaryWrite(imageData)


TarDuk wrote:
private System.Drawing.Image RetrieveImage(string id,string tname)


If this function is in your page, make it as void. If it is in a class, you won't get access to Response object until you pass it to the class



All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

My Website | Ask smart questions

GeneralRe: Storing & retrieving swf file from sql server Pin
Tarun Dudhatra29-Oct-07 1:11
Tarun Dudhatra29-Oct-07 1:11 
QuestionPlease if u can, solve my prob as quick as possible. Pin
Tutul Biswas29-Oct-07 0:29
Tutul Biswas29-Oct-07 0:29 
AnswerRe: Please if u can, solve my prob as quick as possible. Pin
InsDev29-Oct-07 0:37
InsDev29-Oct-07 0:37 
AnswerRe: Please if u can, solve my prob as quick as possible. Pin
Imran Khan Pathan29-Oct-07 1:04
Imran Khan Pathan29-Oct-07 1:04 
GeneralRe: Please if u can, solve my prob as quick as possible. Pin
Tutul Biswas30-Oct-07 2:29
Tutul Biswas30-Oct-07 2:29 
Questionclear the datagrid value in asp.net [modified] Pin
ps.srinivasan29-Oct-07 0:26
ps.srinivasan29-Oct-07 0:26 
AnswerRe: clear the datagrid value in asp.net Pin
John-ph29-Oct-07 0:37
John-ph29-Oct-07 0:37 
GeneralRe: clear the datagrid value in asp.net Pin
ps.srinivasan29-Oct-07 0:41
ps.srinivasan29-Oct-07 0:41 
GeneralRe: clear the datagrid value in asp.net Pin
John-ph29-Oct-07 0:54
John-ph29-Oct-07 0:54 
GeneralRe: clear the datagrid value in asp.net Pin
ps.srinivasan29-Oct-07 1:03
ps.srinivasan29-Oct-07 1:03 
GeneralRe: clear the datagrid value in asp.net Pin
John-ph29-Oct-07 1:15
John-ph29-Oct-07 1:15 
GeneralRe: clear the datagrid value in asp.net Pin
ps.srinivasan29-Oct-07 2:13
ps.srinivasan29-Oct-07 2:13 
GeneralRe: clear the datagrid value in asp.net Pin
John-ph29-Oct-07 2:50
John-ph29-Oct-07 2:50 
GeneralRe: clear the datagrid value in asp.net Pin
ps.srinivasan29-Oct-07 19:09
ps.srinivasan29-Oct-07 19:09 
AnswerRe: clear the datagrid value in asp.net Pin
InsDev29-Oct-07 0:39
InsDev29-Oct-07 0:39 
GeneralRe: clear the datagrid value in asp.net Pin
ps.srinivasan29-Oct-07 0:45
ps.srinivasan29-Oct-07 0:45 
GeneralRe: clear the datagrid value in asp.net Pin
InsDev29-Oct-07 0:49
InsDev29-Oct-07 0:49 

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.