SQL Server The DateTime type is the date and time in SQL 2005, you do not have just a date type field, you cannot remove the time component and still have a DateTime type field. Your options are the ones you have outlined: convert to (n) varchar and remove the time component, leave it as a DateTime and accept that it has a time component. Why do you want to remove the time component, what problem will be solved for you.
In addition to your comment below, the database is not where you should form the date rows that will be displayed in your GridView. You display layer objects at the display level, in this case in a gridview. You must use the format string in your data when binding data to a gridview. The following are examples.
BoundField:
<columns> <asp:BoundField headertext="CreationDate" dataformatstring="{0:dd-MM-yyyy}" //rearrange these letters as necessary datafield="CreationDate" /> </columns>
TemplateField
<itemtemplate> <asp:Label id="Label1" runat="server" Text='<%# Bind("CreationDate", "{0:M-dd-yyyy}") %>'> </asp:Label> </itemtemplate>
source share