If I need to insert data into a table, using SqlParameter is a best choice. But I heard someone said that SqlParameter still has some defects in SQL injection. The proof is contacting a sql string and running exec command. In this case ,there are still some risks in SQL injection.
But my question is that if I use the SqlParameter only to insert data into table without exec command, do I still have the risks in SQL injection?