【发布时间】:2014-12-01 20:01:07
【问题描述】:
我用这段代码来添加两个数字
//contentItem.dataBind("screen.Table1Item.Value1", function (newValue) {
// contentItem.screen.Property1 =(contentItem.screen.Table1Item.Value1);
//});
//contentItem.dataBind("screen.Table1Item.Value2", function (newValue) {
// contentItem.screen.Property1 = (contentItem.screen.Table1Item.Value2);
//});
//contentItem.dataBind("screen.Table1Item.Property1", function (newValue) {
// contentItem.screen.Property1 = (contentItem.screen.Table1Item.Value1) + (contentItem.screen.Table1Item.Value2);
//});
不是添加数字而是附加。有没有人可以帮助我解决这个问题?
【问题讨论】:
-
在尝试添加它们之前,您是否尝试过将它们转换为数字?
-
不,我没有施放它们。我不知道如何在 lightswitch 2013 中施放它们
-
也许它们应该是合适的数据类型。 c-sharpcorner.com/UploadFile/051e29/data-types-in-lightswitch
标签: visual-studio-2013 add lightswitch-2013