/// <summary> /// 初始化表,给表头、行头和单元格赋值 /// </summary> public void InitTable(OilInfoEntity oil, GridOilViewA gdvWide) { if (oil == null || gdvWide == null) { return; } _gdvWide = gdvWide; InitTable(oil, EnumTableType.GCInput, "!Custom"); }
/// <summary> /// 初始化表,给表头、行头和单元格赋值 /// </summary> public void InitTable(string oilId, GridOilViewA gdvWide) { var oil = OilBll.GetOilById(oilId); InitTable(oil, gdvWide); }