ASP.NET
Áù¡¢ÈçºÎ£º×Ô¶¨Òå Calendar Web ·þÎñÆ÷¿Ø¼þµÄÍâ¹Û
ÒòΪ Calendar ¿Ø¼þÊÇÒ»¸öÓÉÐí¶à¸ö±ðÔªËØ×é³ÉµÄ¸´Ôӿؼþ£¬ËüΪÄú×Ô¶¨ÒåÆäÍâ¹ÛÌṩÁ˶à¸öÑ¡Ïî¡£
1¡¢¸ü¸Ä Calendar ¿Ø¼þµÄ³£¹æÍâ¹Û
Calendar ¿Ø¼þ½¨Á¢Ò³ÉϵÄÈÕÀúµÄĬÈÏÍâ¹Û£¬µ«ÊÇÄú¿ÉÒÔ¸ü¸ÄÈÕÀúµÄ×ܵÄÍâ¹Û¡£Èç¹ûΪÈÕÀúÉϵĸö±ðÔªËØ£¨È統ǰÈÕÆÚ¡¢Ñ¡¶¨ÈÕÆڵȣ©ÉèÖÃÍâ¹ÛÊôÐÔ£¬ÔòÕâЩ¸ö±ðÉèÖûùÓÚÄú´Ó×ÜÌåÉÏΪÈÕÀúËù×öµÄĬÈÏÉèÖá£Äú»¹¿ÉÒÔ´ÓÔ¤¶¨ÒåµÄ¸ñʽÖÐÑ¡Ôñ¡£
˵Ã÷£º ĬÈÏÇé¿öÏ£¬ÔÚ Calendar ¿Ø¼þÉÏûÓÐָʾµ±Ç°ÈÕÆÚµÄÌØÊâ¸ñʽ¡£
°´Ï±íËùÁÐÉèÖÃÊôÐÔ¡£
Ö¸¶¨ÊôÐÔ
½«ÊôÐÔÉèÖÃΪ
×ÖÌå¡¢Îı¾ºÍ±³¾°É«
Font, ForeColor, BackColor.
¿Ø¼þµÄÕûÌå³ß´ç
Height, Width
¸ö±ðÈÕÖÜΧµÄ±ß¾àºÍ¼ä¸ô
CellPadding, CellSpacing
±ß¿òºÍÍø¸ñÏßµÄÑÕÉ«¡¢³ß´çºÍÑùʽ£¨ÀýÈ磬µãÏߣ©
BorderColor
BorderStyle£¨ÉèÖÃΪһ¸ö BorderStyle ö¾ÙÖµ£ºDotted¡¢Dashed »ò Solid µÈ£©¡£
ShowGridLines£¨true »ò false£©
2¡¢¸ü¸ÄÿÖÜÈÕÆÚÏÔʾ
ĬÈÏÇé¿öÏ£¬Ò»ÖÜÖÐËùÓÐÈÕµÄÃû³ÆÔÚÈÕÀúµÄ¶¥²¿ÏÔʾΪһÐС£¿É¿ØÖƸÃÐеĸñʽ¡£
°´Ï±íËùÁÐÉèÖÃÊôÐÔ¡£
ÒªÖ´ÐеIJÙ×÷
½«ÊôÐÔÉèÖÃΪ
ÆôÓûò½ûÓò¿ÊðÿÖÜÈÕÆÚµÄÐÐ
ShowDayHeader£¨true »ò false£©
Ö¸¶¨Ã¿ÖÜÖÐÈÕÃû³ÆµÄ¸ñʽ£¨ÀýÈ磬ȫ³Æ»ò¼ò³Æ£©
DayNameFormat£¨Ê¹Óà DayNameFormat ö¾ÙÖеÄÖµ£ºFull¡¢Short¡¢FirstLetter »ò FirstTwoLetters£©¡£
Ö¸¶¨Ò»ÖܵÄÆðʼÈÕ£¨Ä¬ÈÏÖµÊÇ Sunday£©
FirstDayOfWeek£¨Ê¹Óà FirstDayOfWeek ö¾ÙÖж¨ÒåµÄÈÕ£©¡£
ÉèÖÃÑÕÉ«¡¢×ÖÌå¡¢±ß¿òÑùʽºÍ¿í¶ÈµÈ
ÓÃÓںϲ¢ÑùʽÐÅÏ¢µÄ DayHeaderStyle¡£
3¡¢¸ü¸ÄÔ·ÝÏÔʾºÍ¶¨Î»Á´½Ó
ĬÈÏÇé¿öÏ£¬±êÌâÀ¸ÏÔʾµ±Ç°Ô·ݵÄÃû³ÆºÍÒ»×éµ¼º½Á´½Ó£¨LinkButton ¿Ø¼þ£©£¬Óû§¿ÉÒÔʹÓÃËüÃÇÒƶ¯µ½Ï¸öÔ»òÉϸöÔ¡£
°´Ï±íËùÁÐÉèÖÃÊôÐÔ¡£
ÒªÖ´ÐеIJÙ×÷
½«ÊôÐÔÉèÖÃΪ
ÍêÈ«ÒƳý±êÌâÀ¸£¨Õ⽫½ûÓÃÔ·ݶ¨Î»£©¡£
ShowTitle£¨true »ò false£©
Ö¸¶¨Ô·ÝÃû³ÆµÄ¸ñʽ£¨ÀýÈ磬ȫ³Æ»ò¼ò³Æ£©£¬»¹¿ÉÌí¼ÓÄê·Ý¡£
TitleFormat£¨ÉèÖÃΪ TitleFormat ö¾ÙÖеÄÖµ£ºMonth »ò MonthYear£©¡£
Ö¸¶¨Ô·ݶ¨Î»Á´½ÓµÄ¸ñʽºÍÎı¾
NextPrevFormat£¨Ê¹Óà NextPrevFormat ö¾ÙÖеÄÖµ£ºMonth »ò CustomText£©¡£
NextMonthText ºÍ PrevMonthText£¨ÉèÖÃΪ×Ö·û´®£©
ÉèÖÃÑÕÉ«¡¢×ÖÌå¡¢±ß¿òÑùʽ
Ïà¹ØÎĵµ£º
´ËľÂíдÁËÒ»¶Îʱ¼äÁË,д³öÀ´¾õµÃ×Ô¼º¶Ô.netÓÐÁ˸ü¶àµÄÈÏʶ,µ±È»Ö÷ÒªÊÇѧϰµ½Á˺ܶà֪ʶ.ËùÒÔ¸öÈ˸оõѧϰ±à³Ì×îºÃµÄ;¾¶¾ÍÊÇ´ø×ÅÏîĿȥѧϰ,ÅäºÏ°Ù¶È,googleÈ¥½â¾öÎÊÌâ. ºÇºÇ ÅÅ°æ±È½Ï³óª,¹¦ÄÜʵÓþͺÃ. ºÃÁË,ÏÖÔÚ·¢²¼´ËľÂí
1.µÇ½½çÃæ:
2. Ö÷Ìå½çÃæ
3. ¸÷¹¦ÄÜÄ£¿é
°Ù¶ÈÏÂÔصØÖ·: http://www.baidu.com/s? ......
ÕâÁ½Õß±¾Éí½²µÄÊDz»Í¬·½ÏòÓë½Ç¶ÈµÄÎÊÌ⣬ÔÚʵ¼ÊÓ¦ÓÃÖÐËûÃǵÄÈ·´æÔÚһЩÏàËƵÄÌص㣬ÔںܶàÊé¼®ÖÐҲûÓÐÉîÈë½²½â£¬ÒÔÖÂÓÚÔì³ÉÀ§»ó£¬ÎªÁ˸üºÃµÄÀí½âËûÃÇ£¬ÄǾÍÀ´ËµËµÇø±ð°É¡£
¡¡¡¡Ê×ÏÈN²ã½á¹¹ÊÇÒ»ÖÖÈí¼þ³éÏóµÄ²ã´Î½á¹¹£¬ÊǶԸ´ÔÓÈí¼þµÄÒ»ÖÖ×ÝÏòÇз֣¬Ã¿Ò»²ã´ÎÖÐÍê³ÉͬһÀàÐ͵IJÙ×÷£¬ÒԱ㽫¸÷ÖÖ´úÂëÒÔÆäÍê³ÉµÄʹÃü×÷ÎªÒ ......
asp.net×Ô¶¨Òå´íÎó´¦ÀíÒ³Ãæ·½·¨Ò»
1¡¢Ìí¼ÓWeb.config£¬ < system.web>< /system.web>ÖÐÌí¼Ó< customErrors mode="On"
defaultRedirect="ApplicationErroy.aspx" >< /customErrors>½Úµã£¬
2¡¢Ìí¼Ó´íÎó´¦ÀíÒ³Ã棺ApplicationErroy.aspxµ÷ÓÃÏÂÃæµÄ·½·¨£º
private void DealErroy() & ......
¿ÉʹÓà Calendar Web ·þÎñÆ÷¿Ø¼þÏÔʾÈÕÀúÖеĿÉÑ¡ÈÕÆÚ£¬²¢ÏÔʾÓëÌض¨ÈÕÆÚ¹ØÁªµÄÊý¾Ý¡£
Ò»¡¢·½°¸
¿ÉÒÔʹÓà Calendar Web ·þÎñÆ÷¿Ø¼þÖ´ÐÐÏÂÃæµÄ²Ù×÷£º
1¡¢ÏÔʾºÍÑ¡ÔñÈÕÆÚ ¸Ã¿Ø¼þÏÔʾһ¸öÈÕÀú£¬Óû§Í¨¹ý´ËÈÕÀú¿ÉÒƶ¯µ½ÈÎÒâÒ»ÄêÖеÄÈÎÒâÒ»Ìì¡£ÉèÖà SelectedDate ÊôÐÔ£¬Ê¹Ä ......