DataTable.Select()中的表達式中如何取出取值范圍,我要取出一定的金錢數字,交易金額語句應該怎樣寫dr = dt_tmp.Select("訂單狀態 like '%" + cboOrderState.Text.Trim() + "%' and 交易金額 Between " + txtPayAmount.Text.Trim() + " and " + txtPayAmount1.Text.Trim());我是這樣寫的但是一直出錯,不支持between ,郁悶。我不知道怎么做了。請各位大俠指教。
- 1 回答
- 0 關注
- 687 瀏覽
添加回答
舉報
0/150
提交
取消