Click here to Skip to main content
15,890,973 members
Home / Discussions / C#
   

C#

 
GeneralRe: comparisons between Zedgraph and MS chart control Pin
Christian Graus2-Jan-09 5:41
protectorChristian Graus2-Jan-09 5:41 
GeneralRe: comparisons between Zedgraph and MS chart control Pin
Dave Kreskowiak2-Jan-09 6:13
mveDave Kreskowiak2-Jan-09 6:13 
QuestionHow to set my app full trust (CAS) ? Pin
hdv2122-Jan-09 3:20
hdv2122-Jan-09 3:20 
AnswerRe: How to set my app full trust (CAS) ? [modified] Pin
#realJSOP2-Jan-09 3:26
mve#realJSOP2-Jan-09 3:26 
GeneralRe: How to set my app full trust (CAS) ? Pin
hdv2122-Jan-09 9:04
hdv2122-Jan-09 9:04 
GeneralRe: How to set my app full trust (CAS) ? Pin
Mark Churchill3-Jan-09 15:55
Mark Churchill3-Jan-09 15:55 
GeneralRe: How to set my app full trust (CAS) ? Pin
hdv2125-Jan-09 5:53
hdv2125-Jan-09 5:53 
QuestionProblem when closing Form containing DataGridView Pin
kbalias2-Jan-09 1:37
kbalias2-Jan-09 1:37 
Hi
I have a very strange problem. I am using Visual Studio 2005 and C# to develop a Windows application. My database is a MS Access 2003 database.

On my Form I have a DataGridView that is bound to a table in the database. There are also a few DataGridViewComboBoxColumns that are bound to different lookup tables in the database. I specify the BindingSources for all of these using the designer. When I run the app the DataGridView is populated as expected. The DataGridViewComboBoxes also work fine and I can change the values. The database is also updated correctly. So everything seemed fine.

Then I added a Button control to the form by dragging a Button control from the Toolbox onto the Form. Before I added any further code I ran the app again to check something. This time I encountered a problem. After I clicked the Close button in the Controlbox (Top right on the form) the DataGridView gets cleared of data row by row and when all the rows have been cleared the following message appears: "Index 0 does not have a value.".

I just cannot see the relationship between just adding a Button to the form and this error message.

I am stumped and any advice will be appreciated.

Regards.

Kobus
AnswerRe: Problem when closing Form containing DataGridView Pin
#realJSOP2-Jan-09 2:51
mve#realJSOP2-Jan-09 2:51 
GeneralRe: Problem when closing Form containing DataGridView Pin
kbalias2-Jan-09 5:12
kbalias2-Jan-09 5:12 
QuestionSave web page in IE Pin
Kim06182-Jan-09 1:32
Kim06182-Jan-09 1:32 
AnswerRe: Save web page in IE Pin
N a v a n e e t h2-Jan-09 2:00
N a v a n e e t h2-Jan-09 2:00 
AnswerRe: Save web page in IE Pin
Ravi Bhavnani2-Jan-09 19:35
professionalRavi Bhavnani2-Jan-09 19:35 
QuestionOne-Click DataGridViewComboBoxCell Pin
Dominik Reichl2-Jan-09 1:23
Dominik Reichl2-Jan-09 1:23 
AnswerRe: One-Click DataGridViewComboBoxCell Pin
kbalias2-Jan-09 1:58
kbalias2-Jan-09 1:58 
GeneralRe: One-Click DataGridViewComboBoxCell Pin
Dominik Reichl2-Jan-09 2:11
Dominik Reichl2-Jan-09 2:11 
GeneralRe: One-Click DataGridViewComboBoxCell Pin
kbalias2-Jan-09 5:18
kbalias2-Jan-09 5:18 
Questiondebugging BHO Pin
Maverickcool2-Jan-09 1:12
Maverickcool2-Jan-09 1:12 
QuestionAbout My Macro Program's problem. [modified] Pin
tr_thorn2-Jan-09 0:48
tr_thorn2-Jan-09 0:48 
Question[Message Deleted] Pin
umeshrajpoot2-Jan-09 0:26
umeshrajpoot2-Jan-09 0:26 
AnswerRe: Problem while converting pdf to doc Pin
Christian Graus2-Jan-09 5:42
protectorChristian Graus2-Jan-09 5:42 
GeneralRe: Problem while converting pdf to doc Pin
umeshrajpoot2-Jan-09 17:36
umeshrajpoot2-Jan-09 17:36 
Questionsize of type? Pin
dec821-Jan-09 22:53
dec821-Jan-09 22:53 
AnswerRe: size of type? Pin
Brij2-Jan-09 0:02
mentorBrij2-Jan-09 0:02 
GeneralRe: size of type? Pin
Eddy Vluggen2-Jan-09 1:50
professionalEddy Vluggen2-Jan-09 1:50 

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.