Click here to Skip to main content
15,881,600 members
Home / Discussions / C#
   

C#

 
GeneralRe: Have associated files use currently running instance Pin
ilion blaze3-May-06 11:19
ilion blaze3-May-06 11:19 
GeneralRe: Have associated files use currently running instance Pin
Phillip M. Hoff3-May-06 19:31
Phillip M. Hoff3-May-06 19:31 
QuestionHow can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn? Pin
Elvia Gonzalez3-May-06 9:51
Elvia Gonzalez3-May-06 9:51 
AnswerRe: How can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn? Pin
Elvia Gonzalez3-May-06 13:09
Elvia Gonzalez3-May-06 13:09 
GeneralRe: How can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn? Pin
goyal manish3-May-06 21:36
goyal manish3-May-06 21:36 
GeneralRe: How can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn? Pin
Elvia Gonzalez4-May-06 7:29
Elvia Gonzalez4-May-06 7:29 
GeneralRe: How can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn? Pin
Elvia Gonzalez4-May-06 8:13
Elvia Gonzalez4-May-06 8:13 
GeneralRe: How can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn? Pin
Elvia Gonzalez4-May-06 14:31
Elvia Gonzalez4-May-06 14:31 
Hi,

I have been debugging my windows application. I have found that the code in the previous post is working as I expected, because I see the variable in the Watch window.

I have the code of the previous post in the Load() method of the form class (FrmTestCases.cs) that has my DataGridView.

But when the debugger leaves the file that has this code (FrmTestCases.cs) to return to the file that called this code (FrmExplorer.cs), the value that I set in that cell by the code is lost and set automatically to null.

When the value was lost I set it in this watch window and the ComboxBox selected the value I set.

I don't know whether the problem is because I removed and then added this column (see the first post). At the end of the Load() method I have this line: dataGridView.AutoGenerateColumns = false; if I don't use it, the column that I removed appears again. Any idea about why the value of the DataGridComboBoxColumn is changed to null automatically and how to solve it?

Best Regards,

Elvia


QuestionHow to pass form reference at run time. Pin
abhinish3-May-06 9:32
abhinish3-May-06 9:32 
AnswerRe: changing datagridview cell Pin
Office Lineman3-May-06 12:27
Office Lineman3-May-06 12:27 
QuestionCustom Tooltips Pin
siongc3-May-06 9:15
siongc3-May-06 9:15 
AnswerRe: Custom Tooltips Pin
Ravi Bhavnani3-May-06 9:45
professionalRavi Bhavnani3-May-06 9:45 
Questionautomation of excel chart generation Pin
Gollaprolu3-May-06 8:57
Gollaprolu3-May-06 8:57 
QuestionNeed help sending SOAP message with byte array in message Pin
jdrage3-May-06 8:44
jdrage3-May-06 8:44 
Questionconverting numbers to date Pin
TheJudeDude3-May-06 8:43
TheJudeDude3-May-06 8:43 
AnswerRe: converting numbers to date Pin
Ravi Bhavnani3-May-06 9:01
professionalRavi Bhavnani3-May-06 9:01 
GeneralRe: converting numbers to date Pin
TheJudeDude3-May-06 9:16
TheJudeDude3-May-06 9:16 
GeneralRe: converting numbers to date Pin
Ravi Bhavnani3-May-06 9:20
professionalRavi Bhavnani3-May-06 9:20 
GeneralRe: converting numbers to date Pin
TheJudeDude3-May-06 9:25
TheJudeDude3-May-06 9:25 
GeneralRe: converting numbers to date Pin
J4amieC3-May-06 22:10
J4amieC3-May-06 22:10 
QuestionCopy DBF file to MDB Pin
Bedevian3-May-06 8:18
Bedevian3-May-06 8:18 
QuestionProblem with Reports Pin
ventomito3-May-06 8:11
ventomito3-May-06 8:11 
AnswerRe: Problem with Reports Pin
ranandbe4-May-06 20:19
ranandbe4-May-06 20:19 
QuestionTotal Physical Memory Pin
rajith_r3-May-06 7:54
rajith_r3-May-06 7:54 
AnswerRe: Total Physical Memory Pin
Ravi Bhavnani3-May-06 8:45
professionalRavi Bhavnani3-May-06 8:45 

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.