Click here to Skip to main content
15,877,888 members
Home / Discussions / C#
   

C#

 
GeneralRe: Codeproject forum ... ? Pin
Kevin Marois13-Oct-09 6:42
professionalKevin Marois13-Oct-09 6:42 
AnswerRe: Codeproject forum ... ? Pin
Abhijit Jana13-Oct-09 7:18
professionalAbhijit Jana13-Oct-09 7:18 
Questiongenrate data is not display in report viewer Pin
vivek_s_IT13-Oct-09 2:41
vivek_s_IT13-Oct-09 2:41 
AnswerRe: genrate data is not display in report viewer Pin
Searril13-Oct-09 3:20
Searril13-Oct-09 3:20 
AnswerRe: genrate data is not display in report viewer Pin
Md. Marufuzzaman13-Oct-09 4:44
professionalMd. Marufuzzaman13-Oct-09 4:44 
QuestiondataGridView problems Pin
Steve5177113-Oct-09 2:30
Steve5177113-Oct-09 2:30 
AnswerRe: dataGridView problems Pin
Manas Bhardwaj13-Oct-09 2:40
professionalManas Bhardwaj13-Oct-09 2:40 
GeneralRe: dataGridView problems Pin
Steve5177113-Oct-09 3:22
Steve5177113-Oct-09 3:22 
I have already figured it is NULL by debugging and stepping through the code... For some reason, the last cell reports NULL and there is data enteted in the cell.


Manas Bhardwaj wrote:
This shows that it has the null value in it...

try with this code, this will tell you whenever you have the null value.


for (int i = 0; i < dataGridView1.Rows[e.RowIndex].Cells.Count; i++){dataGridView1[i, e.RowIndex].Style.BackColor = Color.Green; // works for all 3 rowsif(dataGridView1[i, e.RowIndex] == null) MessageBox.Show("Somehow, I have the null value here...");else MessageBox.Show(dataGridView1[i, e.RowIndex].Value.ToString());}

AnswerRe: dataGridView problems Pin
Steve5177113-Oct-09 4:01
Steve5177113-Oct-09 4:01 
GeneralRe: dataGridView problems Pin
Luc Pattyn13-Oct-09 4:21
sitebuilderLuc Pattyn13-Oct-09 4:21 
AnswerRe: dataGridView problems Pin
Jacobb Michael13-Oct-09 5:49
Jacobb Michael13-Oct-09 5:49 
GeneralRe: dataGridView problems Pin
Steve5177113-Oct-09 6:33
Steve5177113-Oct-09 6:33 
QuestionOpen a POPUP consisting of Two Radio Buttons in Windows Applications Pin
Murthuja13-Oct-09 2:06
Murthuja13-Oct-09 2:06 
AnswerRe: Open a POPUP consisting of Two Radio Buttons in Windows Applications Pin
benjymous13-Oct-09 2:12
benjymous13-Oct-09 2:12 
AnswerRe: Open a POPUP consisting of Two Radio Buttons in Windows Applications Pin
Jacobb Michael13-Oct-09 5:55
Jacobb Michael13-Oct-09 5:55 
QuestionGet string name from listview selected item Pin
Aljaz11113-Oct-09 1:44
Aljaz11113-Oct-09 1:44 
AnswerRe: Get string name from listview selected item Pin
Manas Bhardwaj13-Oct-09 1:47
professionalManas Bhardwaj13-Oct-09 1:47 
AnswerRe: Get string name from listview selected item Pin
stancrm13-Oct-09 1:48
stancrm13-Oct-09 1:48 
AnswerRe: Get string name from listview selected item [modified] Pin
Md. Marufuzzaman13-Oct-09 4:12
professionalMd. Marufuzzaman13-Oct-09 4:12 
GeneralRe: Get string name from listview selected item Pin
Luc Pattyn13-Oct-09 4:23
sitebuilderLuc Pattyn13-Oct-09 4:23 
GeneralRe: Get string name from listview selected item Pin
Md. Marufuzzaman13-Oct-09 4:50
professionalMd. Marufuzzaman13-Oct-09 4:50 
AnswerRe: Get string name from listview selected item Pin
T!T@N14-Mar-10 8:45
T!T@N14-Mar-10 8:45 
Questionhow i can print from ppc (windows mobile) to usb printer ? Pin
E_Gold13-Oct-09 1:11
E_Gold13-Oct-09 1:11 
QuestionGet Control information at Mouse Position? Pin
Lyon Sun13-Oct-09 1:07
Lyon Sun13-Oct-09 1:07 
AnswerRe: Get Control information at Mouse Position? Pin
Luc Pattyn13-Oct-09 2:48
sitebuilderLuc Pattyn13-Oct-09 2:48 

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.