Click here to Skip to main content
15,912,756 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to use chrome webbrowser in C# .NET windows form application Pin
Member 116126624-May-15 16:09
Member 116126624-May-15 16:09 
QuestionHow to use "altChunk" to put HTML into a MS Word object that is embedded into a PowerPoint slide? Pin
pats2Kdynasty3-May-15 11:53
pats2Kdynasty3-May-15 11:53 
QuestionGoogle Speech Recognition Pin
Member 114365473-May-15 1:17
Member 114365473-May-15 1:17 
AnswerRe: Google Speech Recognition Pin
Richard MacCutchan3-May-15 2:14
mveRichard MacCutchan3-May-15 2:14 
GeneralRe: Google Speech Recognition Pin
Member 114365473-May-15 2:17
Member 114365473-May-15 2:17 
GeneralRe: Google Speech Recognition Pin
Richard MacCutchan3-May-15 2:24
mveRichard MacCutchan3-May-15 2:24 
GeneralRe: Google Speech Recognition Pin
Member 114365473-May-15 2:27
Member 114365473-May-15 2:27 
GeneralRe: Google Speech Recognition Pin
Sascha Lefèvre3-May-15 3:00
professionalSascha Lefèvre3-May-15 3:00 
GeneralRe: Google Speech Recognition Pin
Member 114365473-May-15 3:30
Member 114365473-May-15 3:30 
GeneralRe: Google Speech Recognition Pin
OriginalGriff3-May-15 3:53
mveOriginalGriff3-May-15 3:53 
GeneralRe: Google Speech Recognition Pin
Member 114365473-May-15 4:06
Member 114365473-May-15 4:06 
GeneralRe: Google Speech Recognition Pin
OriginalGriff3-May-15 4:17
mveOriginalGriff3-May-15 4:17 
GeneralRe: Google Speech Recognition Pin
Member 114365473-May-15 4:29
Member 114365473-May-15 4:29 
GeneralRe: Google Speech Recognition Pin
OriginalGriff3-May-15 4:46
mveOriginalGriff3-May-15 4:46 
GeneralRe: Google Speech Recognition Pin
Gerry Schmitz3-May-15 10:45
mveGerry Schmitz3-May-15 10:45 
Questioncode dataGridView1[e.ColumnIndex, e.RowIndex].Value.ToString() doesnt work Pin
aahamdan2-May-15 6:24
aahamdan2-May-15 6:24 
AnswerRe: code dataGridView1[e.ColumnIndex, e.RowIndex].Value.ToString() doesnt work Pin
OriginalGriff2-May-15 6:39
mveOriginalGriff2-May-15 6:39 
Use the debugger.
When you get the exception, use the debugger to look at the various parts of that, and work out what the values of each part are: e.ColumnIndex, e.RowIndex, and so forth.

Personally, I'd be using dataGridView1.Rows[rowindex].Cells[columnIndex] and checking the return value to make sure there is one.

I suspect you have just mixed up the row and column, and been lucky not to get an index out of range error.
But the debugger is the best way to find out.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

GeneralRe: code dataGridView1[e.ColumnIndex, e.RowIndex].Value.ToString() doesnt work Pin
aahamdan2-May-15 6:48
aahamdan2-May-15 6:48 
GeneralRe: code dataGridView1[e.ColumnIndex, e.RowIndex].Value.ToString() doesnt work Pin
OriginalGriff2-May-15 7:18
mveOriginalGriff2-May-15 7:18 
AnswerRe: code dataGridView1[e.ColumnIndex, e.RowIndex].Value.ToString() doesnt work Pin
Henrik Jonsson2-May-15 7:05
Henrik Jonsson2-May-15 7:05 
AnswerRe: code dataGridView1[e.ColumnIndex, e.RowIndex].Value.ToString() doesnt work Pin
V.4-May-15 22:58
professionalV.4-May-15 22:58 
QuestionHow can I write string to a memory mapped file? Pin
Member 116587422-May-15 0:52
Member 116587422-May-15 0:52 
QuestionRe: How can I write string to a memory mapped file? Pin
Richard MacCutchan2-May-15 3:33
mveRichard MacCutchan2-May-15 3:33 
AnswerRe: How can I write string to a memory mapped file? Pin
Member 116587422-May-15 4:17
Member 116587422-May-15 4:17 
GeneralRe: How can I write string to a memory mapped file? Pin
Richard MacCutchan2-May-15 4:23
mveRichard MacCutchan2-May-15 4:23 

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.