Click here to Skip to main content
15,389,918 members
Home / Discussions / C#
   

C#

 
AnswerRe: List.Sort() Stability? Reliability...? Pin
Luc Pattyn14-Jul-10 15:17
sitebuilderLuc Pattyn14-Jul-10 15:17 
GeneralRe: List.Sort() Stability? Reliability...? Pin
Ennis Ray Lynch, Jr.15-Jul-10 3:22
MemberEnnis Ray Lynch, Jr.15-Jul-10 3:22 
GeneralRe: List.Sort() Stability? Reliability...? Pin
Richard Blythe15-Jul-10 6:37
MemberRichard Blythe15-Jul-10 6:37 
GeneralRe: List.Sort() Stability? Reliability...? Pin
Richard Blythe15-Jul-10 6:39
MemberRichard Blythe15-Jul-10 6:39 
AnswerRe: List.Sort() Stability? Reliability...? Pin
Luc Pattyn15-Jul-10 7:15
sitebuilderLuc Pattyn15-Jul-10 7:15 
AnswerRe: List.Sort() Stability? Reliability...? Pin
Pete O'Hanlon15-Jul-10 10:37
mvaPete O'Hanlon15-Jul-10 10:37 
QuestionHow do I format Column when a Gridview loads? Pin
roman_s14-Jul-10 9:14
Memberroman_s14-Jul-10 9:14 
AnswerRe: How do I format Column when a Gridview loads? Pin
Luc Pattyn14-Jul-10 9:35
sitebuilderLuc Pattyn14-Jul-10 9:35 
Hi,

have a look at the CellFormatting event. You could watch the value (e.Value) to be displayed and:
1. modify it,
2. or apply a special formatting (dgv.Columns[COL].DefaultCellStyle.Format="#,###";),
3. or set a special backcolor (e.CellStyle.BackColor=Color.Yellow; however this does not work for empty cells!).

I have used some of the above in my CP Vanity[^] article.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


GeneralRe: How do I format Column when a Gridview loads? Pin
roman_s14-Jul-10 10:06
Memberroman_s14-Jul-10 10:06 
GeneralRe: How do I format Column when a Gridview loads? Pin
Luc Pattyn14-Jul-10 10:18
sitebuilderLuc Pattyn14-Jul-10 10:18 
GeneralRe: How do I format Column when a Gridview loads? Pin
roman_s14-Jul-10 10:31
Memberroman_s14-Jul-10 10:31 
AnswerRe: How do I format Column when a Gridview loads? Pin
T M Gray14-Jul-10 10:17
MemberT M Gray14-Jul-10 10:17 
GeneralRe: How do I format Column when a Gridview loads? Pin
Luc Pattyn14-Jul-10 10:21
sitebuilderLuc Pattyn14-Jul-10 10:21 
GeneralRe: How do I format Column when a Gridview loads? Pin
T M Gray14-Jul-10 10:37
MemberT M Gray14-Jul-10 10:37 
GeneralRe: How do I format Column when a Gridview loads? Pin
Luc Pattyn14-Jul-10 11:08
sitebuilderLuc Pattyn14-Jul-10 11:08 
QuestionSMF Forum login using webclient [modified] Pin
Skymir14-Jul-10 8:06
MemberSkymir14-Jul-10 8:06 
AnswerRe: SMF Forum login using webclient Pin
Ennis Ray Lynch, Jr.14-Jul-10 9:00
MemberEnnis Ray Lynch, Jr.14-Jul-10 9:00 
QuestionIntellisense Documenation Pin
programmervb.netc++14-Jul-10 4:44
Memberprogrammervb.netc++14-Jul-10 4:44 
AnswerRe: Intellisense Documenation Pin
Luc Pattyn14-Jul-10 5:06
sitebuilderLuc Pattyn14-Jul-10 5:06 
GeneralRe: Intellisense Documenation Pin
OriginalGriff14-Jul-10 5:18
mveOriginalGriff14-Jul-10 5:18 
GeneralRe: Intellisense Documenation Pin
Luc Pattyn14-Jul-10 5:23
sitebuilderLuc Pattyn14-Jul-10 5:23 
GeneralRe: Intellisense Documenation Pin
OriginalGriff14-Jul-10 6:00
mveOriginalGriff14-Jul-10 6:00 
GeneralRe: Intellisense Documenation Pin
Luc Pattyn14-Jul-10 6:38
sitebuilderLuc Pattyn14-Jul-10 6:38 
GeneralRe: Intellisense Documenation Pin
OriginalGriff14-Jul-10 8:11
mveOriginalGriff14-Jul-10 8:11 
GeneralRe: Intellisense Documenation Pin
Wes Aday14-Jul-10 6:28
professionalWes Aday14-Jul-10 6:28 

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.