我有一个要分配选择查询的数据表。但是会弹出以下错误:“语法错误:'TruckGrossWeight'运算符后缺少操作数。”
DataRow[] drs = dataTableForDropDowns
.Select("LNGFuelAvailability=" + drpdwnlst_LNGFuelAvailability.SelectedValue + " " +
"TruckGrossWeight=" + drpdwnlst_TruckGrossCombinedWeight.SelectedValue + "");
选定值 ( int ) 的值是:
drpdwnlst_LNGFuelAvailability.SelectedValue= 5
drpdwnlst_TruckGrossCombinedWeight.SelectedValue = 2