Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DataGridView - Date column [Get Input format dd/MM/yyyy]

Status
Not open for further replies.

Mahey

Programmer
Dec 24, 2008
52
SA
Hi,

With my datagridview I have column for datetime. I used the following for format.

Mydatagrid1.Columns(3).DefaultCellStyle.Format = "dd/MM/yyyy"

But the problem is it's getting input like MM/dd/yyyy and after pressing enter it's changing to dd/mm/yyyy style.
So is it possible to read input like "dd/MM/yyyy"

Thanks ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top