Click here to Skip to main content
15,886,822 members
Home / Discussions / C#
   

C#

 
GeneralRe: List.Sort() Stability? Reliability...? Pin
Richard Blythe15-Jul-10 6:37
Richard Blythe15-Jul-10 6:37 
GeneralRe: List.Sort() Stability? Reliability...? Pin
Richard Blythe15-Jul-10 6:39
Richard 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
mvePete O'Hanlon15-Jul-10 10:37 
QuestionHow do I format Column when a Gridview loads? Pin
roman_s14-Jul-10 9:14
roman_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 
GeneralRe: How do I format Column when a Gridview loads? Pin
roman_s14-Jul-10 10:06
roman_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 
Confused | :confused: Confused | :confused: Confused | :confused:

AFAIK there are two distinct mechanisms, one to provide the data (databinding), one to display the data (formatting).
The binding is whatever you want it to be.
The formatting will fire the CellFormatting event if you wire it up, which you can do by double-clicking the event in the events list, or by adding a dataGridView1.CellFormatting+=dataGridView1_CellFormatting; statement in the form's constructor. As you already have the outline, you probably have done the former already.
Now start manipulating the current cell inside your event handler, any way you want (You did not specify what kind of "simple conversion formula" you want).

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:31
roman_s14-Jul-10 10:31 
AnswerRe: How do I format Column when a Gridview loads? Pin
T M Gray14-Jul-10 10:17
T 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
T 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
Skymir14-Jul-10 8:06 
AnswerRe: SMF Forum login using webclient Pin
Ennis Ray Lynch, Jr.14-Jul-10 9:00
Ennis Ray Lynch, Jr.14-Jul-10 9:00 
QuestionIntellisense Documenation Pin
programmervb.netc++14-Jul-10 4:44
programmervb.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 
GeneralRe: Intellisense Documenation Pin
programmervb.netc++14-Jul-10 5:26
programmervb.netc++14-Jul-10 5:26 
AnswerRe: Intellisense Documenation Pin
Ennis Ray Lynch, Jr.14-Jul-10 5:09
Ennis Ray Lynch, Jr.14-Jul-10 5:09 

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.