报错:
.NET Framework 版本:2.0.50727.3053
Foxtable 版本:2014.3.8.1
错误所在事件:窗口,月报表,Button2,Click
详细错误信息:
Conversion from string "" to type 'Double' is not valid.
Input string was not in a correct format.
是格式不对吗?
Dim d1 As Date = Date.Today
Dim year As Integer = d1.Year
Dim s As Integer = d1.Month
If s <> "" Then
Tables("月报表").StopRedraw() '停止重绘
DataTables("月报表").DataRows.Clear
Dim dt_in As List(Of DataRow)
dt_in = DataTables("装箱入库").Select("零件图号 is not null", "零件图号,零件名称,月份") '排序取出 入仓 全部数据
。。。。。。。。
要想将s格式设为"yyyyMM",该怎么做?