摘要: 1:获取指定月份的天数 int Days = DateTime.DaysInMonth(Year, Month);//Year指定的年份,Month指定的月份 2:当前月份的天数 int idate=System.DateTime.DaysInMonth(System.DateTime.Now.Year,System.DateTime.Now.Month); [新闻]微软七月安全... 阅读全文
posted @ 2008-05-16 12:55 代码示例 阅读(420) 评论(0) 推荐(0) 编辑
摘要: 程序中最关键的是如何将变量加到SQL语句中去。“SQL = ”Select * from grade where 姓名 like ‘%“ + str + ”%’“”语句中str是变量,要得到正确的格式只要按照下面的两个步骤进行操作。 (1)写出正确的SQL语句,SQL =" Select * from grade where 姓名 like '%敏%'",因为姓名是文本型变量,所以必须加上单引号,... 阅读全文
posted @ 2008-05-16 11:36 代码示例 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 1.ASP.NET 2.0 QuickStart Tutorial 2.Visual Studio 2008开发新特性系列课程 3.C# 3.0 锐利体验系列课程 4.C#2.0 锐利体验系列课程 5.Modern C#系列课程 6.Web Service开发入门 7..NET 2.0开发入门 8.Visual Web Developer 2005开发入门 9.SQL Server 2005 Ex... 阅读全文
posted @ 2008-05-11 23:34 代码示例 阅读(885) 评论(0) 推荐(0) 编辑
摘要: 后台主要代码: protected void CheckBox_CheckedChanged(object sender, EventArgs e) { string checkResult = ""; ResultLabel.Text = ""; if (A.Checked) { ... 阅读全文
posted @ 2008-04-23 16:20 代码示例 阅读(470) 评论(0) 推荐(0) 编辑
摘要: 图片左右滚动不停 图片无缝隙从右至左滚动 [新闻]Google音乐搜索即将上线文章来源:http://www.cnblogs.com/joyboy/articles/1157144.html 阅读全文
posted @ 2008-04-16 23:28 代码示例 阅读(306) 评论(0) 推荐(0) 编辑