Click here to Skip to main content
15,891,777 members
Home / Discussions / C#
   

C#

 
GeneralRe: problem in opening word file with c# Pin
a.ergin5-Jan-13 23:52
a.ergin5-Jan-13 23:52 
Questionhow to set folder location of showsaveasdialog in webbrowser control Pin
nitin_ion5-Jan-13 1:15
nitin_ion5-Jan-13 1:15 
QuestionDevelop Expense Management Tool in C# using ASP.Net Pin
Tushar Urade4-Jan-13 23:59
Tushar Urade4-Jan-13 23:59 
AnswerRe: Develop Expense Management Tool in C# using ASP.Net Pin
Richard MacCutchan5-Jan-13 1:33
mveRichard MacCutchan5-Jan-13 1:33 
AnswerRe: Develop Expense Management Tool in C# using ASP.Net Pin
OriginalGriff5-Jan-13 21:21
mveOriginalGriff5-Jan-13 21:21 
AnswerRe: Develop Expense Management Tool in C# using ASP.Net Pin
Abhinav S6-Jan-13 0:04
Abhinav S6-Jan-13 0:04 
QuestionAsk about obfuscating assembly files before creating setup package ? Pin
taibc4-Jan-13 19:37
taibc4-Jan-13 19:37 
QuestionCange datagridview cel backcolor if cel has value Pin
GrooverFromHolland4-Jan-13 9:27
GrooverFromHolland4-Jan-13 9:27 
Hi,
I use this to change the back color of a cell:
C#
private void dataGridViewData_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
       {
           if (!string.IsNullOrEmpty(e.Value.ToString()))
           {
               e.CellStyle.BackColor = Color.LightGoldenrodYellow;
           }
       }


This works, but also check box cells are changed if they are checked or not.
How can I make an exception for check boxes, or is there an other way to do this?
The datagridview is set to autogenerateColumns = true.

Groover,
0200 A9 23
0202 8D 01 80
0205 00

AnswerRe: Cange datagridview cel backcolor if cel has value Pin
Wendelius4-Jan-13 10:57
mentorWendelius4-Jan-13 10:57 
GeneralRe: Cange datagridview cel backcolor if cel has value Pin
GrooverFromHolland4-Jan-13 11:05
GrooverFromHolland4-Jan-13 11:05 
AnswerRe: Cange datagridview cel backcolor if cel has value Pin
Alan N4-Jan-13 15:09
Alan N4-Jan-13 15:09 
GeneralRe: Cange datagridview cel backcolor if cel has value Pin
GrooverFromHolland5-Jan-13 0:34
GrooverFromHolland5-Jan-13 0:34 
QuestionC# obtain data from file name Pin
classy_dog4-Jan-13 8:24
classy_dog4-Jan-13 8:24 
AnswerRe: C# obtain data from file name Pin
Pete O'Hanlon4-Jan-13 8:59
mvePete O'Hanlon4-Jan-13 8:59 
AnswerRe: C# obtain data from file name Pin
OriginalGriff4-Jan-13 9:50
mveOriginalGriff4-Jan-13 9:50 
GeneralRe: C# obtain data from file name Pin
classy_dog5-Jan-13 10:32
classy_dog5-Jan-13 10:32 
GeneralRe: C# obtain data from file name Pin
OriginalGriff5-Jan-13 11:00
mveOriginalGriff5-Jan-13 11:00 
GeneralRe: C# obtain data from file name Pin
micke.andersson28-Jan-13 4:31
micke.andersson28-Jan-13 4:31 
QuestionExecute a .props file Pin
vanikanc4-Jan-13 8:07
vanikanc4-Jan-13 8:07 
AnswerRe: Execute a .props file Pin
Eddy Vluggen4-Jan-13 22:45
professionalEddy Vluggen4-Jan-13 22:45 
GeneralRe: Execute a .props file Pin
vanikanc7-Jan-13 6:50
vanikanc7-Jan-13 6:50 
AnswerRe: Execute a .props file Pin
Eddy Vluggen7-Jan-13 7:04
professionalEddy Vluggen7-Jan-13 7:04 
GeneralSEHException unhandled Pin
Chris-ahams Njikonye4-Jan-13 6:50
Chris-ahams Njikonye4-Jan-13 6:50 
GeneralRe: SEHException unhandled Pin
Eddy Vluggen4-Jan-13 22:44
professionalEddy Vluggen4-Jan-13 22:44 
GeneralRe: SEHException unhandled Pin
Chris-ahams Njikonye6-Jan-13 23:26
Chris-ahams Njikonye6-Jan-13 23:26 

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.