Click here to Skip to main content
15,891,372 members
Home / Discussions / C#
   

C#

 
AnswerRe: InvalidActiveXSateException was unhandled- MSChart control 6.0 Pin
GunaChinna8-Feb-07 19:46
GunaChinna8-Feb-07 19:46 
QuestionDatagrid [modified] Pin
md_refay30-Jan-07 17:17
md_refay30-Jan-07 17:17 
AnswerRe: Datagrid Pin
Christian Graus30-Jan-07 18:38
protectorChristian Graus30-Jan-07 18:38 
QuestionOffice 2003 Color Pin
god4k30-Jan-07 16:50
god4k30-Jan-07 16:50 
AnswerRe: Office 2003 Color Pin
Christian Graus30-Jan-07 18:38
protectorChristian Graus30-Jan-07 18:38 
QuestionComing to grips with culture Pin
Glen Harvy30-Jan-07 16:21
Glen Harvy30-Jan-07 16:21 
AnswerRe: Coming to grips with culture Pin
Christian Graus30-Jan-07 18:39
protectorChristian Graus30-Jan-07 18:39 
GeneralRe: Coming to grips with culture Pin
Glen Harvy30-Jan-07 19:16
Glen Harvy30-Jan-07 19:16 
Thanks for your prompt response.

What you said is what I thought and that was what I have been doing for some months now. I have cheated a bit by using the calendar control for any date input needs Smile | :) - avoiding the issue!

The problem is that the calendar control is not suitable for the task (try scrolling back 30 years for example) so I'm trying to use the maskedtextbox control to enter a DOB. This control is bound to the DOB field in the appropriate table.

I made the maskedtextbox culture neutral, eng-aus and eng-us and none of those cultures render the DOB in the correct format.

It seems that if the month or the day is a number less than 10, the leading 0 is dropped of when reading the value from the datatable and rendering it in the masked textbox.

This is the first time I have used a maskedtextbox so perhaps I am missing the obvious Sigh | :sigh:

Any suggestions.



Glen Harvy

GeneralRe: Coming to grips with culture Pin
Christian Graus30-Jan-07 22:07
protectorChristian Graus30-Jan-07 22:07 
GeneralRe: Coming to grips with culture Pin
Glen Harvy30-Jan-07 22:32
Glen Harvy30-Jan-07 22:32 
GeneralRe: Coming to grips with culture Pin
Christian Graus30-Jan-07 22:53
protectorChristian Graus30-Jan-07 22:53 
QuestionHow to determine the request & response packet size of a Web Service Pin
AesopTurtle30-Jan-07 16:00
AesopTurtle30-Jan-07 16:00 
QuestionHow do I "autosize" a form? Pin
Preston McCormick30-Jan-07 14:32
Preston McCormick30-Jan-07 14:32 
AnswerRe: How do I "autosize" a form? Pin
Christian Graus30-Jan-07 15:11
protectorChristian Graus30-Jan-07 15:11 
QuestionOCR BarCode Recognition Pin
smarttom9930-Jan-07 12:53
smarttom9930-Jan-07 12:53 
QuestionA namespace does not directly contain....... Pin
Skanless30-Jan-07 12:48
Skanless30-Jan-07 12:48 
AnswerRe: A namespace does not directly contain....... Pin
Luc Pattyn30-Jan-07 12:58
sitebuilderLuc Pattyn30-Jan-07 12:58 
GeneralRe: A namespace does not directly contain....... [modified] Pin
Skanless30-Jan-07 13:06
Skanless30-Jan-07 13:06 
GeneralRe: A namespace does not directly contain....... Pin
Colin Angus Mackay30-Jan-07 13:20
Colin Angus Mackay30-Jan-07 13:20 
GeneralRe: A namespace does not directly contain....... Pin
Skanless30-Jan-07 13:24
Skanless30-Jan-07 13:24 
QuestionNeed help " DataBinder.Eval " Pin
ujupanmester30-Jan-07 12:38
ujupanmester30-Jan-07 12:38 
AnswerRe: Need help " DataBinder.Eval " Pin
Christian Graus30-Jan-07 12:48
protectorChristian Graus30-Jan-07 12:48 
GeneralRe: Need help " DataBinder.Eval " Pin
ujupanmester30-Jan-07 13:11
ujupanmester30-Jan-07 13:11 
GeneralRe: Need help " DataBinder.Eval " Pin
Christian Graus30-Jan-07 13:50
protectorChristian Graus30-Jan-07 13:50 
QuestionHow can I tell if my Webbrowser object is selected Pin
earlgraham30-Jan-07 12:31
earlgraham30-Jan-07 12:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.