错误“没有给出一个或多个必需参数的值”

时间:2013-08-02 09:57:41

标签: oledbexception

    private void rdoCategory_CheckedChanged(object sender, EventArgs e)
    {

        string sql = "SELECT * FROM Recipe ORDER BY CategoryDesc";
        dbCommand = new OleDbCommand(sql,dbConnection);

            dbAdapter.SelectCommand = dbCommand;
            dbAdapter.Fill(ds, "Recipe");

            dgvRecipes.DataSource = ds.Tables["Recipe"];



    }

0 个答案:

没有答案