gridview auto columns

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hey all,
i have a gridview that have auto columns on. Well one of the fields is a
date field which shows the time by default. Is there a way to format without
the time when Auto Columns are on?

thanks,
rodchar
 
hey all,
i have a gridview that have auto columns on. Well one of the fields is a
date field which shows the time by default. Is there a way to format without
the time when Auto Columns are on?

thanks,
rodchar

Format the date in the select statement

For SQL Server

select convert(varchar,datetimefield,101) from table1
 
Back
Top