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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vincent Maverick DuranoRank #238 · 10.3K reputationPosted Apr 28, 2016, 10:27 AM EDT
Bhuvanesh MohankumarRank #310 · 8.1K reputationPosted May 2, 2016, 2:37 AM EDT
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.