Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Comments
nawazish12khan 5-Jan-13 5:14am    
Plz describe your problem.
Vengat91 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 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

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

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900