GridControl2.DataSource = GetDataSource() With GridView2 .Columns("ItemPrice").DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric .Columns("ItemPrice").DisplayFormat.FormatString = "c0" .Columns("ItemDisc").DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric .Columns("ItemDisc").DisplayFormat.FormatString = "c0" .RefreshData() End With
String.Substring
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)