Click here to Skip to main content
15,923,015 members
Home / Discussions / C#
   

C#

 
AnswerRe: passing a value from one method to another method without calling the method, infact no relation exists between two methods, just value is needed. Pin
Colin Angus Mackay2-Jan-09 7:07
Colin Angus Mackay2-Jan-09 7:07 
Questionmy senario Pin
suni_dotnet2-Jan-09 8:41
suni_dotnet2-Jan-09 8:41 
AnswerRe: my senario Pin
Colin Angus Mackay2-Jan-09 12:42
Colin Angus Mackay2-Jan-09 12:42 
AnswerRe: passing a value from one method to another method without calling the method, infact no relation exists between two methods, just value is needed. Pin
Christian Graus2-Jan-09 7:25
protectorChristian Graus2-Jan-09 7:25 
GeneralRe: passing a value from one method to another method without calling the method, infact no relation exists between two methods, just value is needed. Pin
#realJSOP2-Jan-09 7:33
professional#realJSOP2-Jan-09 7:33 
Questiona question about information retrieval system Pin
farzaneh_10732-Jan-09 6:13
farzaneh_10732-Jan-09 6:13 
AnswerRe: a question about information retrieval system Pin
Christian Graus2-Jan-09 7:26
protectorChristian Graus2-Jan-09 7:26 
QuestionThe problem to make the marker size of Legend bigger with MS chart control Pin
Seraph_summer2-Jan-09 4:34
Seraph_summer2-Jan-09 4:34 
Questioncomparisons between Zedgraph and MS chart control Pin
Seraph_summer2-Jan-09 4:07
Seraph_summer2-Jan-09 4:07 
AnswerRe: comparisons between Zedgraph and MS chart control Pin
#realJSOP2-Jan-09 4:27
professional#realJSOP2-Jan-09 4:27 
GeneralRe: comparisons between Zedgraph and MS chart control Pin
Seraph_summer2-Jan-09 4:33
Seraph_summer2-Jan-09 4:33 
GeneralRe: comparisons between Zedgraph and MS chart control Pin
#realJSOP2-Jan-09 4:42
professional#realJSOP2-Jan-09 4:42 
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
professional#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
professional#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 

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.