I have gridview in which i had enabled edit update function. i want to insert current date when ever a user edits the row. my web is in asp.net, vb code, and database is in sql
You can use the SQL Server GETDATE() function to update current date
i rectified it with some coding
UPDATE Course_intake SET ADV=@ADV, RMK=@RMK,dt_edit=GETDATE() WHERE PNUMB=@PNUMB
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.