formatting numbers in data grid
My datagrid doesnot show the numbers (price,rate) in the same format as the SQL query returns....
means fields like Price, Rate as sent by backend are like this...
1200.00, 150.00
but they look in the grid like this
1200, 150.1
how do we show the same format as sent by the backend.
though dates and time donot have this problem...
please help with the numbers:confused: :confused:
but my grid get populated this way..
Dim dv As DataView
dv = x.GetDataView(SQLString)
DataGrid1.DataSource = dv
.... where SQLString is a Procedure Call in which everything is already formatted. Means from backend it comes well formatted. but the same format doesnt show in grid.