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

ASP.NET

 
GeneralRe: Retriving images from Db Pin
Imran Khan Pathan20-Nov-07 17:49
Imran Khan Pathan20-Nov-07 17:49 
GeneralRe: Retriving images from Db Pin
Michael Sync20-Nov-07 18:06
Michael Sync20-Nov-07 18:06 
AnswerRe: Retriving images from Db Pin
Michael Sync20-Nov-07 17:44
Michael Sync20-Nov-07 17:44 
GeneralRe: Retriving images from Db Pin
Krishna Varadharajan20-Nov-07 18:56
Krishna Varadharajan20-Nov-07 18:56 
GeneralRe: Retriving images from Db Pin
Michael Sync20-Nov-07 19:03
Michael Sync20-Nov-07 19:03 
AnswerRe: Retriving images from Db Pin
Abhijit Jana20-Nov-07 18:08
professionalAbhijit Jana20-Nov-07 18:08 
GeneralRe: Retriving images from Db Pin
N a v a n e e t h20-Nov-07 18:40
N a v a n e e t h20-Nov-07 18:40 
AnswerRe: Retriving images from Db Pin
N a v a n e e t h20-Nov-07 18:38
N a v a n e e t h20-Nov-07 18:38 
krishnavaradharajan wrote:
Response.Write("");


This won't display the image on a datagrid. Response.Write() prints the output on top of the page. Use a label control and assign this to there. Or use a server side image control and set image URL.

krishnavaradharajan wrote:
But i couldt able to retrive the image.


As you are trying to display images on a DataGrid, you should look into ItemDatabound event. This will be fired when each rows are binded. Create a template column in your datagrid which contains either a Label or Image control. In ItemDataBound, find this control and assign the image file name to there. Make sure the image exist in the specified path.

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

My Website | Ask smart questions

GeneralRe: Retriving images from Db Pin
Krishna Varadharajan20-Nov-07 19:19
Krishna Varadharajan20-Nov-07 19:19 
QuestionError in control Pin
netJP12L20-Nov-07 14:46
netJP12L20-Nov-07 14:46 
AnswerRe: Error in control Pin
Michael Sync20-Nov-07 17:50
Michael Sync20-Nov-07 17:50 
QuestionDynamic Menus using IHierarchicalDataSource Pin
neilbelfast20-Nov-07 12:08
neilbelfast20-Nov-07 12:08 
QuestionEncryption password Pin
mehran.asg20-Nov-07 11:21
mehran.asg20-Nov-07 11:21 
AnswerRe: Encryption password Pin
Hesham Amin20-Nov-07 12:07
Hesham Amin20-Nov-07 12:07 
AnswerRe: Encryption password Pin
Michael Sync20-Nov-07 15:46
Michael Sync20-Nov-07 15:46 
AnswerRe: Encryption password Pin
John-ph20-Nov-07 18:51
John-ph20-Nov-07 18:51 
QuestionDeclarativeCatalogPart Pin
TheEagle20-Nov-07 10:35
TheEagle20-Nov-07 10:35 
QuestionGridview Printing Pin
danielleroy20-Nov-07 8:31
danielleroy20-Nov-07 8:31 
QuestionNeed help impersonating a user Pin
dalge20-Nov-07 5:23
dalge20-Nov-07 5:23 
GeneralRe: Need help impersonating a user Pin
dalge20-Nov-07 5:28
dalge20-Nov-07 5:28 
GeneralRe: Need help impersonating a user Pin
Pete O'Hanlon20-Nov-07 11:19
mvePete O'Hanlon20-Nov-07 11:19 
QuestionAJAX Confirm Button Extender Pin
Sarfaraj Ahmed20-Nov-07 5:12
Sarfaraj Ahmed20-Nov-07 5:12 
AnswerRe: AJAX Confirm Button Extender Pin
M_Menon20-Nov-07 6:13
M_Menon20-Nov-07 6:13 
GeneralRe: AJAX Confirm Button Extender Pin
Sarfaraj Ahmed20-Nov-07 6:28
Sarfaraj Ahmed20-Nov-07 6:28 
AnswerRe: AJAX Confirm Button Extender Pin
SABhatti20-Nov-07 6:40
SABhatti20-Nov-07 6:40 

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.