I have a textbox in a template field in Gridview.
It is bound using
'<%# Bind("DateToBeAdded") %>'
How can I format the value in the text box to the current culture on the machine?
I tried
'<%# Bind("DateToBeAdded","{0:d}") %>'
But this does not seem to be allowed