3
Answers

How to complete time format in datagridview cell in c#

Pavithra L

Pavithra L

9y
285
1
Hai,
 
I want to complete the time formate in datagridview cell . Here I can only type the time like this 1120a and after I click the tab it will complete the full formate like this 11:20 am if I can type 120p means it will complete the time as 01:20PM how can I do this. Please anybody help this .
 
Thanks in advance. 
Answers (3)
0
Paul Rajs

Paul Rajs

NA 274 15.9k 7y
thank you mr.srikanth
0
Srikant Maruwada

Srikant Maruwada

NA 501 4.4k 7y
You can use UserControl.
 
https://www.aspsnippets.com/Articles/Dynamically-load-and-display-ASPNet-UserControl-using-jQuery-AJAX-and-WebMethod.aspx
 
Please refer the above link.