Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1139
Format WedDropDown as Date without Time.
posted

I've got a webdropdown with a sql Datasource.

I've formatted to the stored proc to return just a date, but when I view the dropdown, it includes the time portion also.

<ig:WebDropDown ID="DateSelectionWebDropDown" runat="server" Width="200px" CssClass="Textboxes"
    DataSourceID="DateDropDownSqlDataSource" DataKeyFields="ImportDate" TextField="ImportDate"
    ValueField="ImportDate" DropDownAnimationType="Bounce">
    <AutoPostBackFlags SelectionChanged="On" />
    <DropDownItemBinding TextField="ImportDate" ValueField="ImportDate" />
</ig:WebDropDown>
<asp:SqlDataSource ID="DateDropDownSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ThisConnectionString %>"
    SelectCommand="Proc_GetWellsFargoDates" SelectCommandType="StoredProcedure">
</asp:SqlDataSource>

Is there a way to format the values and strip off the time portion??