Click here to Skip to main content
15,904,416 members
Home / Discussions / C#
   

C#

 
GeneralRe: Rythm game Pin
pokabot8-Sep-07 4:35
pokabot8-Sep-07 4:35 
QuestionArray Pin
edwinlazer8-Sep-07 2:35
edwinlazer8-Sep-07 2:35 
AnswerRe: Array Pin
Guffa8-Sep-07 2:46
Guffa8-Sep-07 2:46 
GeneralRe: Array Pin
edwinlazer9-Sep-07 19:28
edwinlazer9-Sep-07 19:28 
QuestionSharepoint server URL [modified] Pin
Ramamurthi8-Sep-07 2:10
Ramamurthi8-Sep-07 2:10 
QuestionUnhandled Exception Pin
B!Z8-Sep-07 1:22
B!Z8-Sep-07 1:22 
QuestionI have asked this question many times I'm lost Pin
XFighter8-Sep-07 1:04
XFighter8-Sep-07 1:04 
AnswerRe: I have asked this question many times I'm lost Pin
Skippums10-Sep-07 4:20
Skippums10-Sep-07 4:20 
GeneralRe: I have asked this question many times I'm lost Pin
XFighter10-Sep-07 5:09
XFighter10-Sep-07 5:09 
GeneralRe: I have asked this question many times I'm lost Pin
Skippums10-Sep-07 10:02
Skippums10-Sep-07 10:02 
QuestionOCIEnvCreate failed with return code -1 Error with .NET 2.0 Pin
Muammar©8-Sep-07 0:16
Muammar©8-Sep-07 0:16 
Questionwindows service Pin
rcwoods7-Sep-07 22:45
rcwoods7-Sep-07 22:45 
AnswerRe: windows service Pin
Giorgi Dalakishvili8-Sep-07 1:04
mentorGiorgi Dalakishvili8-Sep-07 1:04 
Questionproblem about set resolution in twain.net scanner Pin
chehreghany7-Sep-07 22:20
chehreghany7-Sep-07 22:20 
AnswerRe: problem about set resolution in twain.net scanner Pin
Dave Kreskowiak8-Sep-07 3:21
mveDave Kreskowiak8-Sep-07 3:21 
QuestionWhat is wrong in this code? Pin
andredani7-Sep-07 20:11
andredani7-Sep-07 20:11 
AnswerRe: What is wrong in this code? Pin
Guffa7-Sep-07 21:55
Guffa7-Sep-07 21:55 
GeneralRe: What is wrong in this code? Pin
andredani8-Sep-07 10:00
andredani8-Sep-07 10:00 
AnswerRe: What is wrong in this code? Pin
Guffa8-Sep-07 11:04
Guffa8-Sep-07 11:04 
GeneralRe: What is wrong in this code? [modified] Pin
andredani8-Sep-07 12:45
andredani8-Sep-07 12:45 
GeneralRe: What is wrong in this code? Pin
Insincere Dave8-Sep-07 14:16
Insincere Dave8-Sep-07 14:16 
GeneralRe: What is wrong in this code? Pin
andredani9-Sep-07 1:03
andredani9-Sep-07 1:03 
AnswerRe: What is wrong in this code? Pin
Guffa8-Sep-07 16:46
Guffa8-Sep-07 16:46 
What are you trying to do really? The text of a SubItem is a string, and a string doesn't contain any integers, it only contains characters.

If you use foreach on a string, it will loop through the characters in the string, and casting each character to int means that you get the unicode character codes for the characters in the string. You won't find any characters in the string with the character code 0.

What does the SubItems contain? If it is the string representation of a number, you have to parse the string if you want to get the number. Use the int.Parse method.

---
single minded; short sighted; long gone;

GeneralRe: What is wrong in this code? Pin
andredani9-Sep-07 1:07
andredani9-Sep-07 1:07 
AnswerRe: What is wrong in this code? Pin
Guffa9-Sep-07 8:43
Guffa9-Sep-07 8:43 

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.