Reputation: 426
I wanted the user to input values in "dd MMM yyyy" format Only, I'm using dataGridView1.Columns["Rel_Date"].DefaultCellStyle.Format = "dd MMM yyyy";
in Form_Load.........
But somehow it's not working.
Upvotes: 0
Views: 373
Reputation: 273574
That 'Format' property is intended for formatting it as output. I'm not sure if you can enforce an inputformat here.
Upvotes: 1