skip to main | skip to sidebar

James

Wednesday, October 13, 2004

asp:textbox format

You cannot include DataFormatString in an asp:textbox like you can an asp:boundcolumn. However, you can format it in the binding expression as shown in the link:
DataBinder.Eval(Container, "DataItem.DateRequired", "{0:d}")

Posted by James at 11:29 am

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

My Blog List

  • The Backup Blog
    Yet More About TSM Integration With Data Domain
    14 years ago

Search This Blog

Blog Archive

  • ►  2010 (2)
    • ►  February (2)
  • ►  2005 (9)
    • ►  November (3)
    • ►  October (1)
    • ►  September (2)
    • ►  August (1)
    • ►  June (2)
  • ▼  2004 (14)
    • ►  December (2)
    • ►  November (3)
    • ▼  October (9)
      • Magic File Renamer
      • Intranet site is identified as an Internet site wh...
      • DCPROMO: failed to modify the necessary properties...
      • SQL Server 2000 Operations Guide: Capacity Planning
      • Register DLL with Right-Click
      • Debug Stored Procedure: EXCEPTION_ACCESS_VIOLATION
      • asp:textbox format
      • SQL Parameter Possibly Null
      • Setting DataGrid Textbox

About Me

James
View my complete profile