Here is some online help
Here is a link to the online help that explains the syntax:
ms-help://MS.VSCC/MS.MSDNVS/cpgenref/html/cpcondatabindingexpressionsyntax.htm
Here is a link that shows you all the date format options you can use:
ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpcondatetimeformatstrings.htm
>Hey Cathi,
>
> It worked, thanks for the help. Is there any documentation for the formatting?
>
>Jim
>
>>Hi Jim,
>>
>>In the databinding of the textbox, add the formating of "{0:d}" like in the following:
>>
>>
>>Text='< % ERROR: # DataBinder.Eval(MyDataSet, "Tables[Employees].DefaultView.[0].HireDate", "{0:d}") % >'
>>
>>
>>>All,
>>>
>>> I have bunch of datetime fields on various webforms that are displayed in textboxes. I want to only display the date portion. How do I do this with the textboxes being databound?
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi