Click here to Skip to main content
15,894,646 members
Home / Discussions / C#
   

C#

 
AnswerRe: Problem Using ExecuteScalar Pin
Rohit Kumar Gora30-Aug-12 4:08
Rohit Kumar Gora30-Aug-12 4:08 
QuestionUsing an Array inside a Class Pin
Jacob Rotary29-Aug-12 10:49
Jacob Rotary29-Aug-12 10:49 
AnswerRe: Using an Array inside a Class Pin
Matt T Heffron29-Aug-12 11:11
professionalMatt T Heffron29-Aug-12 11:11 
AnswerRe: Using an Array inside a Class Pin
Wes Aday29-Aug-12 11:14
professionalWes Aday29-Aug-12 11:14 
JokeRe: Using an Array inside a Class Pin
PIEBALDconsult29-Aug-12 11:30
mvePIEBALDconsult29-Aug-12 11:30 
GeneralRe: Using an Array inside a Class Pin
Wes Aday29-Aug-12 11:35
professionalWes Aday29-Aug-12 11:35 
AnswerRe: Using an Array inside a Class Pin
PIEBALDconsult29-Aug-12 11:33
mvePIEBALDconsult29-Aug-12 11:33 
AnswerRe: Using an Array inside a Class Pin
Kenneth Haugland29-Aug-12 11:51
mvaKenneth Haugland29-Aug-12 11:51 
Quote:
for (int i = 0; i < t2.rows.count + 1; i++)


You should note that indexing in a table starts at 0 in .NET libraries, and not 1. Meaning List.Count - 1 would be the last element.

There are some programs that starts at 12 though Matlab, Excel and Word have this property in idexing, to great frustration if you dont know it Smile | :)
AnswerRe: Using an Array inside a Class Pin
Bernhard Hiller29-Aug-12 20:49
Bernhard Hiller29-Aug-12 20:49 
AnswerRe: Using an Array inside a Class Pin
Pete O'Hanlon29-Aug-12 22:47
mvePete O'Hanlon29-Aug-12 22:47 
AnswerRe: Using an Array inside a Class Pin
harold aptroot30-Aug-12 2:39
harold aptroot30-Aug-12 2:39 
QuestionHow to get the properties of more than one display monitor attached to my computer Pin
Nathaniel Lim29-Aug-12 10:09
Nathaniel Lim29-Aug-12 10:09 
AnswerRe: How to get the properties of more than one display monitor attached to my computer Pin
Dave Kreskowiak29-Aug-12 13:04
mveDave Kreskowiak29-Aug-12 13:04 
QuestionRecruitment Pin
boys-esan29-Aug-12 10:09
boys-esan29-Aug-12 10:09 
QuestionGet Error when connect to DB2 on server Pin
kathytran29-Aug-12 7:07
kathytran29-Aug-12 7:07 
AnswerRe: Get Error when connect to DB2 on server Pin
Dave Kreskowiak29-Aug-12 12:58
mveDave Kreskowiak29-Aug-12 12:58 
QuestiontextBoxes Calculation issue Pin
haroon198029-Aug-12 6:30
haroon198029-Aug-12 6:30 
AnswerRe: textBoxes Calculation issue Pin
Wes Aday29-Aug-12 6:46
professionalWes Aday29-Aug-12 6:46 
GeneralRe: textBoxes Calculation issue Pin
haroon198029-Aug-12 6:51
haroon198029-Aug-12 6:51 
GeneralRe: textBoxes Calculation issue Pin
Wes Aday29-Aug-12 6:54
professionalWes Aday29-Aug-12 6:54 
GeneralRe: textBoxes Calculation issue Pin
haroon198029-Aug-12 10:58
haroon198029-Aug-12 10:58 
GeneralRe: textBoxes Calculation issue Pin
Dave Kreskowiak29-Aug-12 12:52
mveDave Kreskowiak29-Aug-12 12:52 
GeneralRe: textBoxes Calculation issue Pin
haroon198029-Aug-12 23:49
haroon198029-Aug-12 23:49 
GeneralRe: textBoxes Calculation issue Pin
Dave Kreskowiak30-Aug-12 1:41
mveDave Kreskowiak30-Aug-12 1:41 
QuestionBlank lines in a rich text box from a Serial Device, am I getting rid of them correctly..... Pin
glennPattonWork329-Aug-12 4:21
professionalglennPattonWork329-Aug-12 4:21 

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.