c#怎么让窗体代码中的lbyes赋值为类库中的一个类中的lbyes
string lbyes = "上报明细:" + dtyes.Rows.Count.ToString() + "行, 人数:" + dtyes.Rows.Count.ToString() + ",总奖金:" + DataConverter.ToDecimal(dtyes.Compute("sum(moneys)", "")).ToString("") + "元";
...全文
请发表友善的回复…
发表回复
zyy1111111 2018-02-23
- 打赏
- 举报
lblist.Text = "上报明细:" +dt.Count.ToString() + "行, 人数:" +dt.Count.ToString() + ",科室总奖金:"
+dt.Sum(map => map.moneys).ToString() + "元";
码农阿宇 2018-02-12
- 打赏
- 举报
窗体后台取到值后,可以通过方法的参数、构造函数、委托等方式,把值传过去的,不知道你类库的代码是怎么样的
码农阿宇 2018-02-12
- 打赏
- 举报
你把你类库的代码拿出来。