为什么我设置datagridview某列保留两位小数不行呢?
private void FrmPurchaseStockReceipt_Load(object sender, EventArgs e)
{
GetAllTools();
SetPageTools();
InitData();
ClickInitial();
this.dgv_Data.Columns["flotprice"].DefaultCellStyle.Format = "C2";
this.dgv_Data.Columns["flotamount"].DefaultCellStyle.Format = "0.00"; }
------解决方案--------------------
DataType 改不了的,ibusinessService.PurchaseOrder_GetPurchaseOrderDetail 这个方法里是怎么处理的?