Click here to Skip to main content
15,893,722 members
Home / Discussions / C#
   

C#

 
GeneralRe: error : The left-hand side of an assignment must be a variable, property or indexer Pin
Christian Graus29-Sep-07 13:54
protectorChristian Graus29-Sep-07 13:54 
GeneralRe: error : The left-hand side of an assignment must be a variable, property or indexer Pin
Colin Angus Mackay29-Sep-07 10:47
Colin Angus Mackay29-Sep-07 10:47 
GeneralRe: error : The left-hand side of an assignment must be a variable, property or indexer Pin
Landie1101-Oct-07 2:18
Landie1101-Oct-07 2:18 
QuestionHelp with Prining Pin
MumbleB29-Sep-07 9:39
MumbleB29-Sep-07 9:39 
AnswerRe: Help with Prining Pin
Lutosław29-Sep-07 10:51
Lutosław29-Sep-07 10:51 
GeneralRe: Help with Prining Pin
MumbleB29-Sep-07 11:44
MumbleB29-Sep-07 11:44 
GeneralRe: Help with Prining Pin
Lutosław29-Sep-07 12:21
Lutosław29-Sep-07 12:21 
GeneralRe: Help with Prining Pin
Paul Conrad29-Sep-07 13:09
professionalPaul Conrad29-Sep-07 13:09 
GeneralRe: Help with Prining Pin
MumbleB30-Sep-07 3:41
MumbleB30-Sep-07 3:41 
GeneralRe: Help with Prining Pin
Lutosław30-Sep-07 5:33
Lutosław30-Sep-07 5:33 
GeneralRe: Help with Prining Pin
MumbleB30-Sep-07 10:57
MumbleB30-Sep-07 10:57 
Questionbarcode Pin
k36madman29-Sep-07 8:12
k36madman29-Sep-07 8:12 
AnswerRe: barcode Pin
martin_hughes29-Sep-07 10:15
martin_hughes29-Sep-07 10:15 
GeneralRe: barcode Pin
k36madman29-Sep-07 12:02
k36madman29-Sep-07 12:02 
GeneralRe: barcode Pin
martin_hughes29-Sep-07 12:31
martin_hughes29-Sep-07 12:31 
GeneralRe: barcode Pin
k36madman29-Sep-07 14:39
k36madman29-Sep-07 14:39 
GeneralRe: barcode Pin
GuyThiebaut30-Sep-07 8:25
professionalGuyThiebaut30-Sep-07 8:25 
GeneralRe: barcode Pin
k36madman30-Sep-07 10:43
k36madman30-Sep-07 10:43 
QuestionRadio Buttons Pin
picasso229-Sep-07 7:52
picasso229-Sep-07 7:52 
AnswerRe: Radio Buttons Pin
Lutosław29-Sep-07 8:59
Lutosław29-Sep-07 8:59 
QuestionObject reference not set to an instance of an object. Pin
anydie29-Sep-07 7:20
anydie29-Sep-07 7:20 
AnswerRe: Object reference not set to an instance of an object. Pin
Luc Pattyn29-Sep-07 7:55
sitebuilderLuc Pattyn29-Sep-07 7:55 
AnswerRe: Object reference not set to an instance of an object. Pin
Guffa29-Sep-07 7:57
Guffa29-Sep-07 7:57 
QuestionxmlTextReader [modified] Pin
jon-8029-Sep-07 6:46
professionaljon-8029-Sep-07 6:46 
Questionimage DBNull Pin
TAREQ F ABUZUHRI29-Sep-07 6:19
TAREQ F ABUZUHRI29-Sep-07 6:19 
SqlDataReader read = cmd.ExecuteReader();
read.Read();
photo.Visible = false;
if (read["newsPhoto"] != DBNull.Value)
{
photo.Visible = true;
photo.ImageUrl = "retriveImage.aspx?id=" + read["newId"].ToString();
}

this my code to display image
but all time enter this if statment either i upload the image or not all time he enter if statment ... where the problem ?????

Palestine

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.