add record forms using sql

the videos are excellent. I'm trying however to create a form with a few fields that when i hit a submit button they add a new record to a database. I'm wanting the databound controls to start at a new record.

Is anyone aware of a good tutorial or have a link that may show me how to do this Most of the tutorials i have found show using a master/details view with the binding navigator.

Kind Regards

Mordt



Answer this question

add record forms using sql

  • Nate Smith

    hi,

    mark your answer as reply plz



  • patrick_henry_1776

    Ok i answered my own question but will post the answer for other people stuck on something similar. The following method achieves just what i wanted.

    BindingSource.AddNew();

    Where BindingSource is equal to your own Binding Source name.

    Cheers and hoppy c# coding.


  • add record forms using sql