Dear Sir,
i want to save data in table in this formate 2022-11-04 12:30PM and data should be set in hidden field ..please help me sir
You need to make it a String in other words VARCHAR column in order to save in Format
string dt = DateTime.Now.ToString("yyyy-MM-dd hh:mm tt")
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.