how to insert datetime in database in asp.net c#

Insert date time in database using datetime.now you can see the line of code.
cmd.Parameters.AddWithValue("@DateTime", DateTime.Now);

Comments

Popular posts from this blog

Disable right click, Inspect Element and page source using JavaScript in Html and asp.net

Like Operator In Sql Server