i have to automate executing of multiple sql insert commands in a single sqlcommand of my application , and I have to keep insert commands which cloud not execute (because of errors) in executed c#’s sqlcommand .
By the way i don’t want that errors suppress continuing the query execution.
any suggestions?
thank you
Use try catch in SQL statement
see this MSDN link and CodeProject link