I am using a RadGridView in my application. It is connected to a binding datasoure. I am using the following code to insert new records. I have two database fields called createdon and createdby. I have to insert values to those two fields whenever I insert a new record. How can I achieve that?
this
.Validate();
this.substationBindingSource.EndEdit();
this.db.SubmitChanges();