Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
I having gridview in asp.net accordion pane.when i change the color its changing during coding time.but that changes could not be reflected back during run time.Can anyone solve this pblm?
Posted 4-Jan-13 23:55pm
Comments
nawazish12khan at 5-Jan-13 5:14am
   
Plz describe your problem.
Vengat91 at 5-Jan-13 5:20am
   
i added gridview in accordion pane
i modified the gridview style by right click auto format and i changed style
but in run time i could not find the applied style
Vengat91 at 5-Jan-13 5:23am
   
Hi I having sql server 2008 in that i gave date datatype for DOB column name.
In database table only date(not time) is ter.but when i display that in gridview both date and time is displaying.how can i solve this problem?

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Use this in your select SQL statement
Select Convert(varchar, DOB , 107) as DOB
FROM Table_Name
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 144
1 Rana Waqas 126
2 OriginalGriff 90
3 Abhinav S 84
4 Maciej Los 84
0 Sergey Alexandrovich Kryukov 6,578
1 OriginalGriff 6,298
2 Peter Leow 2,534
3 Abhinav S 2,358
4 Maciej Los 2,352


Advertise | Privacy | Mobile
Web03 | 2.8.150414.1 | Last Updated 7 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100