check if EndExecuteNonQuery was successful
<pre><code> insComment.EndExecuteNonQuery();
</code></pre>

<p>Am trying to insert values into a database. What I need is to know if the code was succesfull then I display a success message.</p>

<pre><code>if(insComment.EndExecuteNonQuery()){
show some message

}
</code></pre>

<p>Is that a workable option?</p>
