RE: Formatting a Column in a Datagrid
- From: Peter Newman <PeterNewman@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 12 Jun 2009 01:41:01 -0700
All Sorted :)
"Peter Newman" wrote:
VS 2005 VB.Net ( Vb.2005 ).
I have a datagrid which is filled from a SQL stored procedure. I have been
trying to format the grid and have managed to sort the column headers out and
highlight rows based on a cell content.
My problem is that I have a column called "OPENBALANCE" which is a
moneyfield. Currently a value is displayed in the grid as '10.0000'. How can
I format this column to display only 2 decimal places ie '10.00'
Any help would be appricated
- References:
- Formatting a Column in a Datagrid
- From: Peter Newman
- Formatting a Column in a Datagrid
- Prev by Date: Visual Studio 2003 under Windows 2008 Server
- Next by Date: GridView Total
- Previous by thread: Formatting a Column in a Datagrid
- Next by thread: Can you supress specific XML Elements when using LINQ
- Index(es):
Relevant Pages
|