摘要: 关键代码以红色字体标出:public class Test : System.Web.UI.Page { protected System.Web.UI.WebControls.Calendar Calendar1; private System.Threading.Thread t; private CultureInfo oldC... 阅读全文
posted @ 2004-02-18 21:24 dudu 阅读(7422) 评论(28) 推荐(0) 编辑
摘要: 日历与页面的色彩有点不太协调,我要慢慢调整。如果你什么好的建议,请提出! 阅读全文
posted @ 2004-02-18 17:10 dudu 阅读(1049) 评论(9) 推荐(0) 编辑
摘要: 在.Text的web.config中,如果这样设置:",总是出现错误提示:区域性“zh-CHS”是非特定区域性。它不能用于格式化和分析,因此不能设置为线程的当前区域性。 而设置成其他的区域则没问题,然后我去掉culture,直接设置成,就正常了,使用区域就是“zh-CHS”,在程序中,如果我写这样代码:CultureInfo myCIintl = new CultureInfo( "zh-C... 阅读全文
posted @ 2004-02-18 15:19 dudu 阅读(9827) 评论(7) 推荐(0) 编辑
摘要: his article describes how to use .NET's ability to embed XML files, icons and other files in an assembly so your code can access them at run-time. Embedding the files helps you avoid problems commonly... 阅读全文
posted @ 2004-02-18 10:41 dudu 阅读(5512) 评论(1) 推荐(0) 编辑
摘要: 我将VS.NET中的代码先粘贴至Word 2003,再从Word 2003粘贴到.Text, 这样显示的代码格式与VS.NET中的一样,比我前一篇转载的文章中的方法更简单, 我的电脑上装的是Office 2003, 不知在Office 2000与Office XP中,是否也支持?请看效果:http://www.cnblogs.com/dudu/archive/2004/02/11/1168.asp... 阅读全文
posted @ 2004-02-18 10:26 dudu 阅读(1212) 评论(0) 推荐(0) 编辑
摘要: Here are the steps: Write the code in vs.net Paste it into a new word document Save the document as an html(filtered) (or .Text will have trouble with it) Close the doc , then re-open it without c... 阅读全文
posted @ 2004-02-18 07:16 dudu 阅读(739) 评论(0) 推荐(0) 编辑