[]
我在遇到错误和这个错误时遇到了麻烦IErrorInfo.GetDescription failed with E_FAIL(0x80004005)
。现在我把EXTRACT(MONTH form table)
这个[]
括号,现在程序说没有给一个或多个参数值。
租用是代码:
string queryString = "SELECT sum(skupaj) FROM [cas] where sifra = " + textBox1.Text + " and [EXTRACT(MONTH FROM Datum)] = " + textBox2.Text + "";