emanuelx Posted June 17, 2012 at 03:24 PM Report Share #463452 Posted June 17, 2012 at 03:24 PM (edited) eu estou a usar o moth calendar, mas tenho um problema, eu uso o moth calendar para inserir a data numa textbox, mas depois não consigo inserir as datas numa base de dados sql. a data dada pelo mothcalendar fica assim dd/mm/ano e na base de dados é diferente mm/dia/ano. uso este codigo para o calendario me devolver a data data_nascimento.Text = e.End.Date.ToShortDateString cumps esqueçam já esta a bombar Edited June 17, 2012 at 03:51 PM by emanuelx com calma e sem stresses Link to comment Share on other sites More sharing options...
thoga31 Posted June 17, 2012 at 03:53 PM Report Share #463461 Posted June 17, 2012 at 03:53 PM Não é mothcalendar, é MonthCalendar. Uma vez o erro é distracção, tanta vez é demasia. O que é o "e"? Knowledge is free! Link to comment Share on other sites More sharing options...
emanuelx Posted June 18, 2012 at 11:16 AM Author Report Share #463624 Posted June 18, 2012 at 11:16 AM tipo a data que esta no sql está no formato ingles mes/dia/ano e o monthcalendar está na data em portugues d/m/a. nao existe maneira de mudar a data no sql? com calma e sem stresses Link to comment Share on other sites More sharing options...
Caça Posted June 19, 2012 at 09:32 PM Report Share #464248 Posted June 19, 2012 at 09:32 PM Normalmente utiliza-se Ano-Mes-Dia. Pedro Martins Não respondo a duvidas por PM Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now