I'm trying to insert a row from my datagridview to database, which is newly created. First I use ; db.recordTable.InsertOnSubmit();
however it requires db.SubmitChanges();
to make changes permanent.
However db.SubmitChanges();
submits all changes on the gridview to database. But I'm encoding password section on the datagridview therefore submit fails.
Is there anyway for me to insert only single row without submitting all changes on the datagridview ?