Jason,
Are you looking to have the text value in the column? Generally
speaking, for something like this, you want to make the type of the column a
DataGridViewComboBoxColumn. The following section of the MDSN documentation
titled "How to: Bind Objects to Windows Forms DataGridView Controls" shows
you how to do it:
http://msdn2.microsoft.com/en-us/library/y0wfd4yz.aspx
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Jason Huang" <Ja************@hotmail.comwrote in message
news:ug**************@TK2MSFTNGP05.phx.gbl...
Hi,
In my C# Net 2.0, in a DetailsView I have a row TestStatus, and the output
will be interger 0, 1,
where the 0 presents Pass, 1 presents Fail.
What do I need to do so that the output will be "Pass" and "Fail", not the
integer style 0,1?
Thanks for help.
Jason