Click here to Skip to main content
15,898,571 members
Home / Discussions / C#
   

C#

 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
memorexr2-Oct-10 7:18
memorexr2-Oct-10 7:18 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
Luc Pattyn2-Oct-10 7:27
sitebuilderLuc Pattyn2-Oct-10 7:27 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
memorexr2-Oct-10 7:54
memorexr2-Oct-10 7:54 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
Luc Pattyn2-Oct-10 7:55
sitebuilderLuc Pattyn2-Oct-10 7:55 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
memorexr2-Oct-10 8:19
memorexr2-Oct-10 8:19 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
Luc Pattyn2-Oct-10 8:36
sitebuilderLuc Pattyn2-Oct-10 8:36 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
memorexr4-Oct-10 9:43
memorexr4-Oct-10 9:43 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
Luc Pattyn4-Oct-10 10:07
sitebuilderLuc Pattyn4-Oct-10 10:07 
use a debug build, use try-catch blocks, look at each Exception.ToString() that gets thrown, watch for line numbers, increase the observability by adding log statements, that should be sufficient to solve any problem.

Others will tell you to set breakpoints, and/or run in single-step. I'm not saying that.

One more thing: don't write hundreds of lines of code at once, start small and make sure it works perfectly before you expand on it. Once you have several bugs coming together it may be very hard to figure out what is wrong. When you have something that works pretty well, expand on it by adding a dozen lines, then make sure those work fine too. Etc.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


AnswerRe: DataGridView with MySQL IndexOutOfRange error Pin
Abhinav S2-Oct-10 5:29
Abhinav S2-Oct-10 5:29 
GeneralRe: DataGridView with MySQL IndexOutOfRange error Pin
Luc Pattyn2-Oct-10 5:33
sitebuilderLuc Pattyn2-Oct-10 5:33 
QuestionRunning a method on a seperate thread Pin
teknolog1232-Oct-10 3:26
teknolog1232-Oct-10 3:26 
AnswerRe: Running a method on a seperate thread Pin
Henry Minute2-Oct-10 3:32
Henry Minute2-Oct-10 3:32 
GeneralRe: Running a method on a seperate thread Pin
teknolog1232-Oct-10 3:44
teknolog1232-Oct-10 3:44 
AnswerRe: Running a method on a seperate thread [modified] Pin
Luc Pattyn2-Oct-10 3:51
sitebuilderLuc Pattyn2-Oct-10 3:51 
GeneralRe: Running a method on a seperate thread Pin
teknolog1232-Oct-10 13:37
teknolog1232-Oct-10 13:37 
AnswerRe: Running a method on a seperate thread Pin
Luc Pattyn2-Oct-10 14:17
sitebuilderLuc Pattyn2-Oct-10 14:17 
GeneralRe: Running a method on a seperate thread Pin
teknolog1233-Oct-10 5:11
teknolog1233-Oct-10 5:11 
GeneralRe: Running a method on a seperate thread Pin
Luc Pattyn3-Oct-10 5:18
sitebuilderLuc Pattyn3-Oct-10 5:18 
QuestionVisual diff of 2 DataTables Pin
Aaron D Anderson1-Oct-10 20:47
Aaron D Anderson1-Oct-10 20:47 
AnswerRe: Visual diff of 2 DataTables Pin
Luc Pattyn2-Oct-10 4:10
sitebuilderLuc Pattyn2-Oct-10 4:10 
AnswerRe: Visual diff of 2 DataTables Pin
PIEBALDconsult2-Oct-10 15:48
mvePIEBALDconsult2-Oct-10 15:48 
QuestionDebug Break Pin
Richard Andrew x641-Oct-10 7:51
professionalRichard Andrew x641-Oct-10 7:51 
AnswerRe: Debug Break Pin
OriginalGriff1-Oct-10 8:16
mveOriginalGriff1-Oct-10 8:16 
GeneralRe: Debug Break Pin
Richard Andrew x641-Oct-10 8:22
professionalRichard Andrew x641-Oct-10 8:22 
GeneralRe: Debug Break Pin
OriginalGriff1-Oct-10 8:30
mveOriginalGriff1-Oct-10 8:30 

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.