Click here to Skip to main content
       

C#

 
AnswerRe: Strip special characters in row of data PinmvpEddy Vluggen1-Feb-13 7:53 
AnswerRe: Strip special characters in row of data PinmemberEnnis Ray Lynch, Jr.1-Feb-13 9:15 
QuestionC#,ASP.Net Pinmembersujeet3211-Feb-13 1:51 
AnswerRe: C#,ASP.Net PinmemberSimon_Whale1-Feb-13 2:06 
AnswerRe: C#,ASP.Net PinmvpDave Kreskowiak1-Feb-13 2:30 
AnswerRe: C#,ASP.Net PinmvpAbhinav S1-Feb-13 9:16 
Questionhow to change the background color of a selected row in datagridview [modified] PinmemberNarVish31-Jan-13 22:37 
AnswerRe: how to change the background color of a selected row in datagridview PinmvpOriginalGriff31-Jan-13 23:21 
Handle the CellClick event:
private void myDataGridView_CellClick(object sender, DataGridViewCellEventArgs e)
    {
    DataGridView dgv = sender as DataGridView;
    if (dgv != null)
        {
        dgv.Rows[e.RowIndex].DefaultCellStyle.BackColor = Color.Red;
        }
    }
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.

GeneralRe: how to change the background color of a selected row in datagridview PinmemberNarVish31-Jan-13 23:35 
GeneralRe: how to change the background color of a selected row in datagridview PinmvpOriginalGriff31-Jan-13 23:38 
GeneralRe: how to change the background color of a selected row in datagridview PinmvpRichard MacCutchan31-Jan-13 23:39 
GeneralRe: how to change the background color of a selected row in datagridview PinmvpOriginalGriff31-Jan-13 23:46 
AnswerRe: how to change the background color of a selected row in datagridview PinmvpRichard MacCutchan31-Jan-13 23:38 
GeneralRe: how to change the background color of a selected row in datagridview PinmemberNarVish31-Jan-13 23:45 
QuestionHow to write events in event log using Log4net Pinmembervenkatpappu31-Jan-13 22:28 
AnswerRe: How to write events in event log using Log4net PinmvpRichard MacCutchan31-Jan-13 23:11 
QuestionThread.Abort - using and lock statement Pinmemberdevvvy31-Jan-13 16:49 
AnswerRe: Thread.Abort - using and lock statement PinmvpDave Kreskowiak31-Jan-13 18:53 
GeneralRe: Thread.Abort - using and lock statement [modified] Pinmemberdevvvy31-Jan-13 18:59 
GeneralRe: Thread.Abort - using and lock statement PinmvpDave Kreskowiak31-Jan-13 20:05 
GeneralRe: Thread.Abort - using and lock statement Pinmemberdevvvy31-Jan-13 20:07 
GeneralRe: Thread.Abort - using and lock statement Pinmemberdevvvy6-Nov-13 18:13 
Questionbuild C# as windows app Pinmemberdcof31-Jan-13 13:12 
AnswerRe: build C# as windows app PinmemberMycroft Holmes31-Jan-13 14:51 
AnswerRe: build C# as windows app PinmvpDave Kreskowiak31-Jan-13 15:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.141223.1 | Last Updated 26 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid