Click here to Skip to main content
15,887,350 members
Home / Discussions / C#
   

C#

 
GeneralRe: array table or string table Pin
hendrik14-Feb-09 8:53
hendrik14-Feb-09 8:53 
GeneralRe: array table or string table Pin
Nuri Ismail14-Feb-09 8:55
Nuri Ismail14-Feb-09 8:55 
GeneralRe: array table or string table Pin
abbd14-Feb-09 8:59
abbd14-Feb-09 8:59 
AnswerRe: array table or string table Pin
Nuri Ismail14-Feb-09 9:02
Nuri Ismail14-Feb-09 9:02 
GeneralRe: array table or string table Pin
abbd14-Feb-09 9:14
abbd14-Feb-09 9:14 
AnswerRe: array table or string table Pin
Nuri Ismail14-Feb-09 9:21
Nuri Ismail14-Feb-09 9:21 
GeneralRe: array table or string table Pin
abbd14-Feb-09 9:23
abbd14-Feb-09 9:23 
GeneralRe: array table or string table Pin
Guffa14-Feb-09 9:24
Guffa14-Feb-09 9:24 
abbd wrote:
there are an exception


That's because there is an error.

If you tell which exception, I can tell you which error.

Well, in this case I can actually tell you anyway. You are reading the items as if they were arrays, but they are strings.

foreach (object ee in myList) { MessageBox.Show((string)ee); }

Unless you are stuck with framework 1, you should use a List<string> instead of ArrayList, so that you don't have to cast every item to string when reading from the list.

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: array table or string table Pin
Nuri Ismail14-Feb-09 9:24
Nuri Ismail14-Feb-09 9:24 
GeneralRe: array table or string table Pin
abbd14-Feb-09 9:42
abbd14-Feb-09 9:42 
GeneralRe: array table or string table Pin
Deresen14-Feb-09 11:18
Deresen14-Feb-09 11:18 
QuestionProblem in reading a byte whose value is 0 Pin
M. J. Jaya Chitra14-Feb-09 4:39
M. J. Jaya Chitra14-Feb-09 4:39 
AnswerRe: Problem in reading a byte whose value is 0 Pin
Guffa14-Feb-09 5:57
Guffa14-Feb-09 5:57 
GeneralRe: Problem in reading a byte whose value is 0 Pin
M. J. Jaya Chitra14-Feb-09 13:53
M. J. Jaya Chitra14-Feb-09 13:53 
Questionproblem regarding update the image Pin
sadia12314-Feb-09 3:18
sadia12314-Feb-09 3:18 
AnswerRe: problem regarding update the image Pin
Deresen14-Feb-09 3:33
Deresen14-Feb-09 3:33 
GeneralRe: problem regarding update the image Pin
sadia12315-Feb-09 1:14
sadia12315-Feb-09 1:14 
GeneralRe: problem regarding update the image Pin
Deresen15-Feb-09 1:49
Deresen15-Feb-09 1:49 
GeneralRe: problem regarding update the image Pin
sadia12318-Feb-09 20:40
sadia12318-Feb-09 20:40 
QuestionMysql problem with inserting a blob Pin
hendrik14-Feb-09 2:29
hendrik14-Feb-09 2:29 
AnswerRe: Mysql problem with inserting a blob Pin
ABitSmart14-Feb-09 4:03
ABitSmart14-Feb-09 4:03 
GeneralRe: Mysql problem with inserting a blob Pin
hendrik14-Feb-09 4:56
hendrik14-Feb-09 4:56 
GeneralRe: Mysql problem with inserting a blob Pin
ABitSmart14-Feb-09 5:10
ABitSmart14-Feb-09 5:10 
GeneralRe: Mysql problem with inserting a blob [modified] Pin
hendrik14-Feb-09 6:37
hendrik14-Feb-09 6:37 
AnswerRe: Mysql problem with inserting a blob Pin
Luc Pattyn14-Feb-09 5:17
sitebuilderLuc Pattyn14-Feb-09 5:17 

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.