New Product Launch - BoldDesk !
Introducing help desk ticketing software.
New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.If e.ColIndex = _GridColumnNumber.PartTypeCode Then PartType = e.Style.CellValue Else PartType = _Grid(e.RowIndex, _GridColumnNumber.PartTypeCode).CellValue
If Not IsDBNull(e.Style.CellValue) Then e.Style.CellValueType = GetType(double) e.Style.Format = "0.####" End IfThe idea is not to change the CellValue, but to make sure the style.Format is set the way you want it. In order for the style.Format to take effect, style.CellValueType must be set properly as well.