Click here to Skip to main content
15,900,681 members
Home / Discussions / C#
   

C#

 
GeneralRe: Null reference exception occurs for no reason Pin
OriginalGriff14-Jan-21 6:49
mveOriginalGriff14-Jan-21 6:49 
AnswerRe: Null reference exception occurs for no reason Pin
Ralf Meier14-Jan-21 6:37
mveRalf Meier14-Jan-21 6:37 
GeneralRe: Null reference exception occurs for no reason Pin
Alex Dunlop14-Jan-21 6:49
Alex Dunlop14-Jan-21 6:49 
GeneralRe: Null reference exception occurs for no reason Pin
Ralf Meier14-Jan-21 6:51
mveRalf Meier14-Jan-21 6:51 
Questionlearning to code in c# Pin
grumpi_sc30010-Jan-21 20:30
grumpi_sc30010-Jan-21 20:30 
AnswerRe: learning to code in c# Pin
OriginalGriff10-Jan-21 21:01
mveOriginalGriff10-Jan-21 21:01 
AnswerRe: learning to code in c# Pin
Calin Negru10-Jan-21 21:39
Calin Negru10-Jan-21 21:39 
GeneralRe: learning to code in c# Pin
OriginalGriff10-Jan-21 23:11
mveOriginalGriff10-Jan-21 23:11 
GeneralRe: learning to code in c# Pin
Calin Negru11-Jan-21 0:21
Calin Negru11-Jan-21 0:21 
AnswerRe: learning to code in c# Pin
Gerry Schmitz11-Jan-21 5:00
mveGerry Schmitz11-Jan-21 5:00 
AnswerRe: learning to code in c# Pin
BryanFazekas21-Jan-21 5:33
BryanFazekas21-Jan-21 5:33 
QuestionBest release management for winform project Pin
Mou_kol8-Jan-21 5:03
Mou_kol8-Jan-21 5:03 
AnswerRe: Best release management for winform project Pin
Gerry Schmitz8-Jan-21 5:21
mveGerry Schmitz8-Jan-21 5:21 
GeneralRe: Best release management for winform project Pin
OriginalGriff8-Jan-21 8:45
mveOriginalGriff8-Jan-21 8:45 
GeneralRe: Best release management for winform project Pin
Mou_kol8-Jan-21 9:33
Mou_kol8-Jan-21 9:33 
GeneralRe: Best release management for winform project Pin
Mycroft Holmes8-Jan-21 11:37
professionalMycroft Holmes8-Jan-21 11:37 
QuestionHow to save DataGridView cell and text color? Pin
Alex Dunlop7-Jan-21 6:46
Alex Dunlop7-Jan-21 6:46 
AnswerRe: How to save DataGridView cell and text color? Pin
OriginalGriff7-Jan-21 7:49
mveOriginalGriff7-Jan-21 7:49 
You already know how to set the colours, and getting them uses exactly the same properties.

So all you need to do is loop through your DGV rows and columns at form close time and save that info to a file - using whatever file format floats your boat: CSV, JSON, XML, ... any of them will do it.
Then at startup, you read the file, and copy the info back to your DGV.

What part of that is difficult for you?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

GeneralRe: How to save DataGridView cell and text color? Pin
Alex Dunlop7-Jan-21 7:52
Alex Dunlop7-Jan-21 7:52 
GeneralRe: How to save DataGridView cell and text color? Pin
OriginalGriff7-Jan-21 8:22
mveOriginalGriff7-Jan-21 8:22 
GeneralRe: How to save DataGridView cell and text color? Pin
Alex Dunlop12-Jan-21 5:58
Alex Dunlop12-Jan-21 5:58 
Questionretrieve the date selected on a calendar control scheduler in C # Pin
Member 150371265-Jan-21 4:14
Member 150371265-Jan-21 4:14 
AnswerRe: retrieve the date selected on a calendar control scheduler in C # Pin
OriginalGriff5-Jan-21 6:44
mveOriginalGriff5-Jan-21 6:44 
AnswerRe: retrieve the date selected on a calendar control scheduler in C # Pin
Ralf Meier6-Jan-21 22:31
mveRalf Meier6-Jan-21 22:31 
QuestionSending Multiple Files in a single Request to API Pin
brown715764-Jan-21 6:49
brown715764-Jan-21 6:49 

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.