System.ArgumentException: VarChar
at System.Data.SqlServerCe.SqlCeType.FromSqlDbType(SqlDbType type)
at System.Data.SqlServerCe.SqlCeParameter.set_SqlDbType(SqlDbType value)
at System.Data.SqlServerCe.SqlCeParameter..ctor(String name, SqlDbType dataType)
at System.Data.SqlServerCe.SqlCeParameterCollection.Add(String parameterName, SqlDbType type)
at movieLibrary_v1._0.movieBrowser.getMoviesBtn_Click(Object sender, EventArgs e) in C:\Users\Matt\Documents\Visual Studio 2008\Projects\movieLibrary_v1.0\movieLibrary_v1.0\movieBrowser.cs:line 146
Well, that's a pretty unhelpful exception. I'm assuming your table only has the one column (ie. it doesn't match your first post)? Otherwise, my (rusty) SQL knowledge says you should be specifying the destination column, ex. "INSERT INTO movieTable (filePath) VALUES(@filePath)", unless you want to put the file path in your ID column.