format.string

  1. M

    Question Formatting Bound Data

    Hi I'm new to vb.net and I'm trying to format a datetime field to just show the date. The datetime is bound to an asp:label and I have tried the following in the Text attribute.... Text= String.Format("{0:D}", '<%# Bind("CReviewDate") %>') and Text= String.Format("{0:D}", <%#...
Back
Top