Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
AnswerRe: ControlBox Close Button Pin
Shajeel27-Apr-06 20:47
Shajeel27-Apr-06 20:47 
QuestionComboBox problem after MessageBox displayed Pin
joaoafonso27-Apr-06 0:23
joaoafonso27-Apr-06 0:23 
AnswerRe: ComboBox problem after MessageBox displayed Pin
Ed.Poore27-Apr-06 1:41
Ed.Poore27-Apr-06 1:41 
GeneralRe: ComboBox problem after MessageBox displayed Pin
joaoafonso27-Apr-06 2:00
joaoafonso27-Apr-06 2:00 
GeneralRe: ComboBox problem after MessageBox displayed Pin
Ed.Poore27-Apr-06 3:16
Ed.Poore27-Apr-06 3:16 
GeneralRe: ComboBox problem after MessageBox displayed Pin
joaoafonso27-Apr-06 6:00
joaoafonso27-Apr-06 6:00 
GeneralRe: ComboBox problem after MessageBox displayed Pin
Ed.Poore27-Apr-06 6:02
Ed.Poore27-Apr-06 6:02 
QuestionHow can i use a masked textbox column in a datagridview for date format Pin
Lee ju26-Apr-06 23:57
Lee ju26-Apr-06 23:57 
How can i use a masked textbox column in a datagridview for date
================================================================

I am working with Visual studio 2005 and c# 2005.

I have a datagridview which contains a date column and will accept value as 26-04-2006.Initially value will be 00-00-0000.When we press any key it will check value which we entered is number or not.if it is number then it will check for other conditions like

1 the day is greater 32 or not?
2 the month is greater than 12 or not?
3 the year is greater than 2006 or not?..like that.

we have to find in keypress event and cancel each character if it fails.

when we do backspace each value must changed to zeros..

I used masked textbox in datgridview for this but i am facing so many issues for that..

When we editing it will not work properly..the values are getting overlapped with the grid contents and all..i created the masked textbox dynamically in editcontrolshowing event..

if anybody did the same pls help me it is very urgent..

If you have any other solution that are also welcome

thanks in advance,


lee ju
QuestionEmbedding two forms Pin
praveenqwe26-Apr-06 23:50
praveenqwe26-Apr-06 23:50 
GeneralRe: Embedding two forms Pin
Guffa27-Apr-06 1:13
Guffa27-Apr-06 1:13 
Questionsqlconnection :S :S Pin
Greeky26-Apr-06 23:50
Greeky26-Apr-06 23:50 
AnswerRe: sqlconnection :S :S Pin
J4amieC27-Apr-06 0:10
J4amieC27-Apr-06 0:10 
GeneralRe: sqlconnection :S :S Pin
Greeky27-Apr-06 0:44
Greeky27-Apr-06 0:44 
GeneralRe: sqlconnection :S :S Pin
J4amieC27-Apr-06 1:12
J4amieC27-Apr-06 1:12 
GeneralRe: sqlconnection :S :S Pin
leppie27-Apr-06 4:33
leppie27-Apr-06 4:33 
GeneralRe: sqlconnection :S :S Pin
J4amieC27-Apr-06 4:39
J4amieC27-Apr-06 4:39 
GeneralRe: sqlconnection :S :S Pin
Greeky27-Apr-06 8:25
Greeky27-Apr-06 8:25 
AnswerRe: sqlconnection :S :S Pin
Rob Philpott27-Apr-06 5:42
Rob Philpott27-Apr-06 5:42 
Questioncreating shortcutkey Pin
dayakar_dn26-Apr-06 23:46
dayakar_dn26-Apr-06 23:46 
AnswerRe: creating shortcutkey Pin
Robert Rohde27-Apr-06 0:57
Robert Rohde27-Apr-06 0:57 
Questionhow to display an image one by one Pin
tjpraveen2326-Apr-06 23:09
tjpraveen2326-Apr-06 23:09 
AnswerRe: how to display an image one by one Pin
Ed.Poore26-Apr-06 23:46
Ed.Poore26-Apr-06 23:46 
GeneralRe: how to display an image one by one Pin
tjpraveen2327-Apr-06 1:15
tjpraveen2327-Apr-06 1:15 
GeneralRe: how to display an image one by one Pin
Ed.Poore27-Apr-06 1:26
Ed.Poore27-Apr-06 1:26 
Questioncreating backup and restoring Pin
jinup26-Apr-06 22:11
jinup26-Apr-06 22:11 

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.