Click here to Skip to main content
Sign Up to vote bad
good
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 - 22:55

Comments
nawazish12khan - 5 Jan '13 - 5:14
Plz describe your problem.
Vengat91 - 5 Jan '13 - 5:20
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 - 5 Jan '13 - 5:23
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

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
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 353
1 OriginalGriff 345
2 Arun Vasu 315
3 Maciej Los 208
4 Aarti Meswania 180
0 Sergey Alexandrovich Kryukov 9,755
1 OriginalGriff 7,549
2 CPallini 4,018
3 Rohan Leuva 3,362
4 Maciej Los 2,951


Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 7 Jan 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid