Run-time exception thrown :

[color=Blue]following code in vb script arising no error(i.e. debugging without any error, even then not inserting data from those three textbox control into the access database name.mdb having the table details,after clicking the button named btnadd)com.ExecuteNonQuery() Run-time exception thrown : System.Data.OleDb.OleDbException - Operation must use an updateable query. [/color]

sub btnadd(sender as object,e as eventargs)

dim con as OleDBConnection dim com as OleDBCommand dim str as string dim i as integer

//error arising here onwards//complex query string//error is:No value given for one or more required parameters.//what will be the query string to find the search result after selecting value from any and all of those three drop down list to be displayed in the grid