我想通过自动增量 ID 搜索人员(textbox and one button)
。我dataset
用过
Fill,Getdata --> configure
SQL 语句:
SELECT ID, FirstName, LastName, ContactNo, Address, Date, NameOfJob, OtherJob,
Impression, BackPage, NameOfPage, PaperSize, PrintingSize,
DesignRupees, JobRupees, Matter, BlackPlate, BlackPlateRupees, SinglePlate,
SinglePlateRupees, MultiPlate, MultiPlateRupees, Platename,
Lamination, Creasing, Binding, Other, Total, Receive, Due, LastRemaining
FROM bill WHERE ID=@ID
之后我运行了程序,然后显示 2 个错误:
- 无法从字符串转换为十进制
WindowsFormsApplication9.DataSet1TableAdapters.billTableAdapter.Fill(WindowsFormsApplication9.DataSet1.billDataTable, decimal) has some invalid arguments
此行中错误的最佳重载方法匹配this.billTableAdapter.Fill(this.DataSet1.bill, txt_search.Text);