AD
Administrator
Syncfusion Team
June 13, 2006 04:09 AM UTC
Hi Terry,
The reason is that you are assigning the string value to the cell in a grid. You need to assign the double value to the cell in a grid. Here is a code snippet.
// 68.7 is the double value.
this.gridControl1[3,3].CellValue = 68.7;
this.gridControl1[3,3].CellValueType = typeof(System.Double);
this.gridControl1[3,3].Format = "C02";
Let me know if this helps.
Best Regards,
Haneef