110,535
社区成员
发帖
与我相关
我的任务
分享
string strDecideAmount = dgv["DecideAmount", e.RowIndex].EditedFormattedValue.ToString();
string strSalesPrice = dgv["SalesPrice", e.RowIndex].EditedFormattedValue.ToString();
if (strDecideAmount != "" && strSalesPrice != "")
{
dgv["PreCountMoney", e.RowIndex].Value = Convert.ToDecimal(strDecideAmount) * Convert.ToDecimal(strSalesPrice);
}
this.dgv.EndEdit();