jaya kumar

jaya kumar

  • NA
  • 18
  • 0

how to get only year from datetime datatype..

Apr 8 2010 8:08 PM
Click 
herehi,

i assigned datetime datatype for an column(year).

if the user enter the year in the textbox(year column)
it appears as " mm/dd/yy " format..
i nedd only year from this to be saved into my db when user enter the year...


this is for wpf windows applciation,c#...

reagrds
jai

Answers (1)