Commit e1447ca6 冰封一夏 Gitee 提交于

修改语法

1 个父辈 0e0e62f8
// *********************************************************************** // ***********************************************************************
// Assembly : HZH_Controls // Assembly : HZH_Controls
// Created : 08-09-2019 // Created : 08-09-2019
// //
...@@ -158,8 +158,9 @@ namespace HZH_Controls.Controls ...@@ -158,8 +158,9 @@ namespace HZH_Controls.Controls
var cs = this.panCells.Controls.Find("lbl_" + com.DataField, false); var cs = this.panCells.Controls.Find("lbl_" + com.DataField, false);
if (cs != null && cs.Length > 0) if (cs != null && cs.Length > 0)
{ {
if (DataSource is DataRow row) if (DataSource is DataRow)
{ {
DataRow row=DataSource as DataRow;
if (com.Format != null) if (com.Format != null)
{ {
cs[0].Text = com.Format(row[com.DataField]); cs[0].Text = com.Format(row[com.DataField]);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!