New Members FAQ
Talk to Webmaster Tony John
Specific format Datagridcell
29 Jun 2012
I have a datagrid and one of its cell is of type DataGridViewTextBoxColumn and i need to enter time in this cell and format is HH:MM . After entering HH i want to automatically get : and cursor also shld move next to enter MM. Any suggestions sld appreticated
Thanks in adavance
Date: 29/Jun/2012 Rating:
My suggestion is on change of the cell value of the text box,write .NET code to append ":" automatically when the user enters "HH" and focus the cursor after ":" in order to enter "MM".It think you have to consider the length of the textbox and check it should be equal to 5 only.Based on this condition,you have to append ":" in the textbox..
Date: 30/Jun/2012 Rating:
sudha can u please tell me which event would be appropriate for appending : in the cell od datagridview
This thread is locked for new responses. Please post your comments and questions as a
If required, refer to the URL of this page in your
How to run the exe file of windows xp 32 bit in windows7 64 bit
Encrypt and decrypt video using 128bit code
Return to Discussion Forum
Post New Message
Down Load Manager
Anil Kumar ...
Asheej T K
Last 7 Days
Asheej T K
Awards & Gifts
Articles Rss Feeds
Forum Rss Feeds
Revenue Sharing sites
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
2005 - 2012 All Rights Reserved.
.NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
Articles, tutorials and all other content offered here is for educational purpose only.
We are not associated with Microsoft or its partners.