title: how to check whether the value is inserted or not
body: <p>Am using DataSetTableAdapters for inserting data.how can i check whether the value is inserted or not..I want to show the error or success message after completion of inserting..</p>
  
  <p>My partial code is here: </p>
  
  <pre><code>     DataSet5TableAdapters.sp_inempleaveTableAdapter TA = new DataSet5TableAdapters.sp_inempleaveTableAdapter();
       TA.GetData(ddlperiod.SelectedItem.Text, lblid.Text, name, leave_value);
  </code></pre>
  
  <p>How can i display the success message (or) error message after the above step...</p>