hi, I have a datagrid bind with database. I can do every action what I want. I insert a date in format dd/mm/yyyy. But I want the result such that user should get automatic date format. It should not necessory to press"/". Is it possible?
how to get formatted date
Collapse
X
-
Tags: None
-
-
I want user can enter only date values without separator. Separator should be generated automatically.( Like dot or slash)Comment
-
-
-
Originally posted by poojadeepakI want date format displayed in grid
Click on the datgrid...go to edit columns....
Select the Corresponding column
Go to to the Columnformating property in the window that opens.....anoth er window will open
Then under one of the properties there you have the option of editing the format...Comment
-
thanks for suggation.
But I set the datagrid to database through coding. Hence I don't have columns at design time. I want to do it at runtime.Comment
-
Not sure if this is what you are looking for ...
http://krishnabhargav. blogspot.com/2006/02/i-got-date-with-datetimepicker. html
Search for "CustomFormat". ..
Should be applicable for other dates too.Comment
Comment