Hi
Please anybody help me to Insert created date(now) and created by(username) in asp.net5.
whenever I create the new record in crud application the above records should be entered automatically in database.
regards arun sahani
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Bhuvanesh MohankumarPosted May 2, 2016, 6:37 AM
I suggest you to go for Trigger,
On each of the CRUD operations [Insert, Delete, Update]set the trigger to insert or update the required columns.
Vincent Maverick DuranoPosted Apr 28, 2016, 2:27 PM