Click here to Skip to main content
12,252,860 members (61,372 online)
Rate this:
 
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 22:55pm
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

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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 7 Jan 2013
Copyright © CodeProject, 1999-2016
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