Tables("物料信息临时表").AddNew
Dim Texts() As String = {"TextBox1","TextBox2","TextBox3","NumericComboBox1","TextBox5","ComboBox1","TextBox6"}
Dim ct() As String ={"物料名称","物料类别","物料编号","库存下限","条形码","计量单位","备注"}
For Each i As String In ct
For Each tex As String In Texts
Tables("物料信息临时表").Current(i) = e.Form.Controls(tex).value
Next
Next
代码不能这样写吗,明明是字符型 怎么弹出
.NET Framework 版本:2.0.50727.5485
Foxtable 版本:2014.11.11.1
错误所在事件:窗口,物料管理,Button1,Click
详细错误信息:
从字符串“史蒂夫史蒂夫”到类型“Decimal”的转换无效。