Click here to Skip to main content
15,891,529 members
Home / Discussions / C#
   

C#

 
GeneralRe: Customizing Solid Edge Pin
rani21073-Sep-13 2:05
rani21073-Sep-13 2:05 
GeneralRe: Customizing Solid Edge PinPopular
Pete O'Hanlon3-Sep-13 2:11
mvePete O'Hanlon3-Sep-13 2:11 
GeneralRe: Customizing Solid Edge Pin
rani21073-Sep-13 2:25
rani21073-Sep-13 2:25 
GeneralRe: Customizing Solid Edge Pin
Dave Kreskowiak3-Sep-13 3:38
mveDave Kreskowiak3-Sep-13 3:38 
GeneralRe: Customizing Solid Edge Pin
Rohini Shirke3-Sep-13 18:19
Rohini Shirke3-Sep-13 18:19 
GeneralRe: Customizing Solid Edge Pin
Dave Kreskowiak4-Sep-13 1:09
mveDave Kreskowiak4-Sep-13 1:09 
AnswerRe: Customizing Solid Edge Pin
Abhinav S2-Sep-13 22:51
Abhinav S2-Sep-13 22:51 
GeneralRe: Customizing Solid Edge Pin
rani21073-Sep-13 2:07
rani21073-Sep-13 2:07 
QuestionSqlDataReader is not returning all rows Pin
NarVish2-Sep-13 0:57
NarVish2-Sep-13 0:57 
AnswerRe: SqlDataReader is not returning all rows Pin
Simon_Whale2-Sep-13 1:08
Simon_Whale2-Sep-13 1:08 
GeneralRe: SqlDataReader is not returning all rows Pin
NarVish2-Sep-13 1:37
NarVish2-Sep-13 1:37 
AnswerRe: SqlDataReader is not returning all rows Pin
Simon_Whale2-Sep-13 3:11
Simon_Whale2-Sep-13 3:11 
GeneralRe: SqlDataReader is not returning all rows Pin
NarVish2-Sep-13 5:35
NarVish2-Sep-13 5:35 
AnswerRe: SqlDataReader is not returning all rows Pin
OriginalGriff2-Sep-13 3:46
mveOriginalGriff2-Sep-13 3:46 
GeneralRe: SqlDataReader is not returning all rows Pin
NarVish2-Sep-13 5:36
NarVish2-Sep-13 5:36 
GeneralRe: SqlDataReader is not returning all rows Pin
OriginalGriff2-Sep-13 8:04
mveOriginalGriff2-Sep-13 8:04 
AnswerRe: SqlDataReader is not returning all rows Pin
Eddy Vluggen2-Sep-13 6:23
professionalEddy Vluggen2-Sep-13 6:23 
GeneralRe: SqlDataReader is not returning all rows Pin
Manfred Rudolf Bihy2-Sep-13 8:42
professionalManfred Rudolf Bihy2-Sep-13 8:42 
AnswerRe: SqlDataReader is not returning all rows Pin
Pete O'Hanlon2-Sep-13 8:45
mvePete O'Hanlon2-Sep-13 8:45 
GeneralRe: SqlDataReader is not returning all rows Pin
NarVish2-Sep-13 19:40
NarVish2-Sep-13 19:40 
GeneralRe: SqlDataReader is not returning all rows Pin
Pete O'Hanlon2-Sep-13 20:22
mvePete O'Hanlon2-Sep-13 20:22 
QuestionQuestion about using an if in a string Pin
skeeterz711-Sep-13 17:35
skeeterz711-Sep-13 17:35 
AnswerRe: Question about using an if in a string Pin
Dave Kreskowiak1-Sep-13 18:05
mveDave Kreskowiak1-Sep-13 18:05 
You're comparing against a string literal, but what you wrote is comparing against the contents of a variable called ashley, which you never defined. That's why you're getting the error message.

If you're going to specify a string literal, the string must be enclosed in double-quotes:
if (herName == "ashley")


But, this poses a bit of a problem. The comparison is case sensitive. "Ashley" does not equal "ashley". You need something closer to this to fix that:
if (string.Compare(herName, "ashley", StringCompare.CurrentCultureIgnoreCase))

If the Compare method returns 0, the strings are equal according to the rules of the current culture and ignoring the case of any letters.

You REALLY need to pickup a beginners book on C# and work through it. Trying to learn a language through nothing but trial and error and forum posts will only slow you down and frustrate you.

GeneralRe: Question about using an if in a string Pin
skeeterz711-Sep-13 18:31
skeeterz711-Sep-13 18:31 
GeneralRe: Question about using an if in a string Pin
Dave Kreskowiak1-Sep-13 18:37
mveDave Kreskowiak1-Sep-13 18:37 

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.