Click here to Skip to main content
15,925,181 members
Home / Discussions / C#
   

C#

 
GeneralRe: Custom Control Pin
Stefan Troschuetz26-May-04 0:44
Stefan Troschuetz26-May-04 0:44 
GeneralRe: Custom Control Pin
Ryan Joseph26-May-04 15:17
Ryan Joseph26-May-04 15:17 
GeneralRe: Custom Control Pin
Stefan Troschuetz26-May-04 21:25
Stefan Troschuetz26-May-04 21:25 
GeneralRe: Custom Control Pin
Ryan Joseph27-May-04 16:11
Ryan Joseph27-May-04 16:11 
GeneralRe: Custom Control Pin
Stefan Troschuetz27-May-04 21:05
Stefan Troschuetz27-May-04 21:05 
GeneralRe: Custom Control Pin
Heath Stewart26-May-04 4:09
protectorHeath Stewart26-May-04 4:09 
GeneralCalender control in asp.net Pin
HowRU25-May-04 18:14
HowRU25-May-04 18:14 
GeneralRe: Calender control in asp.net Pin
Aryadip25-May-04 19:28
Aryadip25-May-04 19:28 
hi,
Let me first clarify what I have understood from your requirement...
You have a calender control on the web page and 3 textboxes.
When the user selects a date the day month and year component should get displayed in the 3 text boxes...

If this is so... then herez the code...

private void CalMain_SelectionChanged(object sender, System.EventArgs e)
{
DateTime selDate = ((Calendar)sender).SelectedDate;
txt1.Text = selDate.Day.ToString();
txt2.Text = selDate.Month.ToString();
txt3.Text = selDate.Year.ToString();
}

Note : This code is server side.

regards,
Aryadip.

Cheers !! and have a Funky day !!

GeneralRe: Calender control in asp.net Pin
HowRU25-May-04 20:17
HowRU25-May-04 20:17 
GeneralC# windows app Pin
Anthony_Yio25-May-04 17:56
Anthony_Yio25-May-04 17:56 
GeneralRe: C# windows app Pin
Nick Seng25-May-04 19:00
Nick Seng25-May-04 19:00 
GeneralRe: C# windows app Pin
Anthony_Yio25-May-04 20:05
Anthony_Yio25-May-04 20:05 
GeneralRe: C# windows app Pin
Nick Seng25-May-04 20:07
Nick Seng25-May-04 20:07 
GeneralRe: C# windows app Pin
Anthony_Yio25-May-04 20:16
Anthony_Yio25-May-04 20:16 
GeneralRe: C# windows app Pin
Nick Seng25-May-04 20:21
Nick Seng25-May-04 20:21 
GeneralRe: C# windows app Pin
Anthony_Yio25-May-04 20:35
Anthony_Yio25-May-04 20:35 
GeneralRe: C# windows app Pin
Anthony_Yio25-May-04 20:45
Anthony_Yio25-May-04 20:45 
GeneralRe: C# windows app Pin
Dave Kreskowiak26-May-04 2:48
mveDave Kreskowiak26-May-04 2:48 
GeneralRe: C# windows app Pin
Heath Stewart26-May-04 4:19
protectorHeath Stewart26-May-04 4:19 
GeneralRe: C# windows app Pin
Anthony_Yio26-May-04 15:33
Anthony_Yio26-May-04 15:33 
Questionhow to empty the system chache in TCP connection? Pin
fu025-May-04 17:49
fu025-May-04 17:49 
GeneralForms Pin
Anonymous25-May-04 17:24
Anonymous25-May-04 17:24 
GeneralRe: Forms Pin
Anonymous25-May-04 18:41
Anonymous25-May-04 18:41 
GeneralRe: Forms Pin
Anonymous25-May-04 18:44
Anonymous25-May-04 18:44 
General[Message Deleted] Pin
ProductShowcase25-May-04 17:02
ProductShowcase25-May-04 17:02 

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.