Click here to Skip to main content
15,916,042 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ASP.net Doubt Pin
saravanan0522-May-07 21:13
saravanan0522-May-07 21:13 
QuestionRe: ASP.net Doubt Pin
N a v a n e e t h22-May-07 21:23
N a v a n e e t h22-May-07 21:23 
Questiondisplay text instead of image Pin
sra2222-May-07 20:10
sra2222-May-07 20:10 
AnswerRe: display text instead of image Pin
Sherin Iranimose22-May-07 20:15
Sherin Iranimose22-May-07 20:15 
GeneralRe: display text instead of image Pin
sra2222-May-07 20:19
sra2222-May-07 20:19 
GeneralRe: display text instead of image Pin
Sherin Iranimose22-May-07 20:27
Sherin Iranimose22-May-07 20:27 
GeneralRe: display text instead of image Pin
sra2222-May-07 20:38
sra2222-May-07 20:38 
AnswerRe: display text instead of image Pin
N a v a n e e t h22-May-07 21:29
N a v a n e e t h22-May-07 21:29 
Write a function that checks the database value is empty. If empty then replace that with another image not found image. If you are binding data on datagrid then use itemdatabound event for setting the image.

private string GetImagePath(string DbValue)
{
    string strReturn = string.Empty;
    if ( DbValue == "" ){
        strReturn = "YourNotFoundImage.gif";
    }
    else
        strReturn = "CorrrectImage.gif";
}


Call a function like this when data is binding from DB




Navaneeth
My Website

GeneralRe: display text instead of image Pin
sra2222-May-07 21:37
sra2222-May-07 21:37 
GeneralRe: display text instead of image Pin
Sherin Iranimose22-May-07 22:43
Sherin Iranimose22-May-07 22:43 
AnswerRe: display text instead of image Pin
N a v a n e e t h22-May-07 23:48
N a v a n e e t h22-May-07 23:48 
AnswerRe: display text instead of image Pin
Harini N K22-May-07 20:17
Harini N K22-May-07 20:17 
QuestionCrystal report Pin
kumarjammula22-May-07 19:27
kumarjammula22-May-07 19:27 
AnswerRe: Crystal report Pin
Sherin Iranimose22-May-07 19:42
Sherin Iranimose22-May-07 19:42 
GeneralRe: Crystal report Pin
kumarjammula22-May-07 20:27
kumarjammula22-May-07 20:27 
GeneralRe: Crystal report Pin
Sherin Iranimose22-May-07 20:51
Sherin Iranimose22-May-07 20:51 
GeneralRe: Crystal report Pin
kumarjammula22-May-07 23:34
kumarjammula22-May-07 23:34 
GeneralRe: Crystal report Pin
Sherin Iranimose22-May-07 23:43
Sherin Iranimose22-May-07 23:43 
QuestionData Text Formatting asp.net 2.0 [modified] Pin
Jay_se22-May-07 19:07
Jay_se22-May-07 19:07 
AnswerRe: Data Text Formatting asp.net 2.0 Pin
Sherin Iranimose22-May-07 19:26
Sherin Iranimose22-May-07 19:26 
QuestionData Text Formatting asp.net 2.0 Pin
Jay_se22-May-07 21:06
Jay_se22-May-07 21:06 
QuestionHow to send grid view data into a excel file? Pin
here2learn22-May-07 19:00
here2learn22-May-07 19:00 
AnswerRe: How to send grid view data into a excel file? Pin
Jagadeesh Jupalli22-May-07 19:39
Jagadeesh Jupalli22-May-07 19:39 
AnswerRe: How to send grid view data into a excel file? Pin
varshavmane22-May-07 19:47
varshavmane22-May-07 19:47 
QuestionApplication data caching on a web farm Pin
kaban15622-May-07 18:58
kaban15622-May-07 18:58 

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.