c# - argumentnullexception was unhandled insert into -
i'm attempting insert data database via datagridview. code far checks see if table exists, if not creates new table, , copies data it. can copy data table , works well. until error argumentnullexception unhandled . data inserted table, , can view table , see data there. description error: parameterized query 'insert [alalala_thomas_humphries_quote]([item name], [item description], [retail price], [supplier number], [quantity required], [in stock], [cost price], [total cost],[total retail]) values (@item, @desc,@retail,@supplier,@quantity,@stock,@cost,@totalcost, @totalretail)' expects parameter value not supplied. parameter name: @item and code: private void insertdata() { string tablename = quotenametxt.text + "_" + firsttxt.text + "_" + surenametxt.text + "_quote"; sqlceconnection con = new sqlceconnection(@"data source=|datadirectory|\lwadatabase.sdf"); con.open();