Click here to Skip to main content
16,017,745 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: , +
I am developing windows application in visual studio 2008 and database SQL 2005.
In that application i want to create calendar form which will give detail of month and year and calendar ...please any tell how to code to create the calendar form in c#.

Thanks in advance.....
Posted
Comments
OriginalGriff 30-Sep-11 5:29am    
Reason for my vote of one: too lazy to google.

If only there was some way to look through all the pages of information on the internet, and filter it to just what you were looking for...

What's that, Sooty? There is? It's called a "Search Engine"? And all you have to do is go to a site called "Google" and type in your search text? And it finds all the relevanbt sites for your? That's incredible!

Let's try it: Google... "calendar form in c#"...Search.


Good grief! Loads and loads! Let's look at the top one, eh Sooty? http://www.java2s.com/Code/CSharp/GUI-Windows-Form/CalendarControl.htm[^]

Hey! It works! That is exactly what the question is looking for!
 
Share this answer
 
If You are Using Visual studio 2008, then from ToolBox yo can choose calender from there on Your page,this is the coding if you to transfer this coding by textbox, then you can perform, easily.
TextBox1.Text=Calendar1.SelectedDate.ToShortDateTime();
after this you can send the velue of this textbox to server.
and For More detail follw this link,
http://msdn.microsoft.com/en-us/library/aa288428%28v=vs.71%29.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900