Click here to Skip to main content
15,881,791 members
Home / Discussions / C#
   

C#

 
GeneralRe: DataRow problem Pin
leppie25-Jan-03 6:38
leppie25-Jan-03 6:38 
QuestionIntegrating Flex with C#??? Pin
anjana25-Jan-03 5:34
anjana25-Jan-03 5:34 
AnswerRe: Integrating Flex with C#??? Pin
leppie25-Jan-03 6:34
leppie25-Jan-03 6:34 
QuestionWhat to write? Pin
Skylinemailer25-Jan-03 3:59
Skylinemailer25-Jan-03 3:59 
AnswerRe: What to write? Pin
leppie25-Jan-03 4:33
leppie25-Jan-03 4:33 
AnswerRe: What to write? Pin
Vagif Abilov25-Jan-03 6:16
professionalVagif Abilov25-Jan-03 6:16 
GeneralDateTimePicker Control Pin
Mr BallyDaHob25-Jan-03 3:33
Mr BallyDaHob25-Jan-03 3:33 
GeneralRe: DateTimePicker Control Pin
leppie25-Jan-03 4:43
leppie25-Jan-03 4:43 
From MSDN:

DateTimePicker.Value Property

See Also
DateTimePicker Class | DateTimePicker Members | System.Windows.Forms Namespace | DateTime

public DateTime Value {get; set;}

Property Value
The DateTime value assign to the control.

Remarks
If the Value property has not been changed in code or by the user, it is set to the current date and time (DateTime.Now).

Example
The following example demonstrates how use the Value property to retrieve the current date value. First, the example displays the Value property. The example then increments the Value property by one day and displays the property value again.

public MyClass()
{
   // Create a new DateTimePicker
   DateTimePicker dateTimePicker1 = new DateTimePicker();
   Controls.AddRange(new Control[] {dateTimePicker1});
   MessageBox.Show(dateTimePicker1.Value.ToString());

   dateTimePicker1.Value = DateTime.Now.AddDays(1);
   MessageBox.Show(dateTimePicker1.Value.ToString());
}



Who is this miscrosoft, and what devilish plans have they for us?
GeneralRe: DateTimePicker Control Pin
Mr BallyDaHob25-Jan-03 5:39
Mr BallyDaHob25-Jan-03 5:39 
QuestionC# RegEx text parsing??? Pin
Kevin S.24-Jan-03 10:03
Kevin S.24-Jan-03 10:03 
QuestionTcpListener Hangs at 4096 bytes? Pin
Daniel Bright24-Jan-03 9:01
Daniel Bright24-Jan-03 9:01 
AnswerRe: TcpListener Hangs at 4096 bytes? Pin
Heath Stewart24-Jan-03 10:14
protectorHeath Stewart24-Jan-03 10:14 
AnswerRe: TcpListener Hangs at 4096 bytes? Pin
Stephane Rodriguez.24-Jan-03 10:18
Stephane Rodriguez.24-Jan-03 10:18 
QuestionHow do I draw on a bitmap? Pin
MikeBeard24-Jan-03 8:48
MikeBeard24-Jan-03 8:48 
AnswerRe: How do I draw on a bitmap? Pin
Heath Stewart24-Jan-03 8:55
protectorHeath Stewart24-Jan-03 8:55 
GeneralRe: How do I draw on a bitmap? Pin
MikeBeard24-Jan-03 9:01
MikeBeard24-Jan-03 9:01 
GeneralRe: How do I draw on a bitmap? Pin
Heath Stewart24-Jan-03 10:11
protectorHeath Stewart24-Jan-03 10:11 
GeneralRe: How do I draw on a bitmap? Pin
MikeBeard24-Jan-03 10:46
MikeBeard24-Jan-03 10:46 
GeneralRe: How do I draw on a bitmap? Pin
Heath Stewart24-Jan-03 11:37
protectorHeath Stewart24-Jan-03 11:37 
GeneralRe: How do I draw on a bitmap? Pin
MikeBeard25-Jan-03 11:07
MikeBeard25-Jan-03 11:07 
GeneralRe: How do I draw on a bitmap? Pin
Heath Stewart25-Jan-03 11:12
protectorHeath Stewart25-Jan-03 11:12 
GeneralRe: How do I draw on a bitmap? Pin
MikeBeard27-Jan-03 3:44
MikeBeard27-Jan-03 3:44 
AnswerRe: How do I draw on a bitmap? Pin
MikeBeard24-Jan-03 11:25
MikeBeard24-Jan-03 11:25 
GeneralAdding File Type actions Pin
Waleed Zedan24-Jan-03 6:07
Waleed Zedan24-Jan-03 6:07 
Generalsilly gui question/request Pin
bertb24-Jan-03 3:50
bertb24-Jan-03 3:50 

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.