2010年3月30日
摘要: public: 对任何类和成员都公开, 无限制访问; protected: 仅仅对该类以及该类的派生类公开; private: 仅仅对该类公开; internal: 只能值包含该类的程序集中访问该类(只是单独的项目,而不是整个解决方案); protected internal: 只能在本类,派生类或者包含该类的程序集中访问. 阅读全文
posted @ 2010-03-30 20:27 Atom Yan 阅读(182) 评论(0) 推荐(0) 编辑
  2010年3月29日
摘要: 表名为:tableName 时间字段名为:theDate 查询本月的记录 select * from tableName where DATEPART(mm, theDate) = DATEPART(mm, GETDATE()) and DATEPART(yy, theDate) = DATEPART(yy, GETDATE()) 查询本周的记录 select * from tableName w... 阅读全文
posted @ 2010-03-29 13:23 Atom Yan 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 2009-11-25 21:37①1,解决方案—添加—新建项目—其他项目类型—安装和部署—安装项目,输入名称Setup,点“确定”2,添加主输出:单击左侧“应用程序文件夹”,右侧右键—添加—项目输出-主输出-确定。3,添加开始程序中的文件夹:右击左侧... 阅读全文
posted @ 2010-03-29 00:07 Atom Yan 阅读(510) 评论(0) 推荐(0) 编辑
  2010年3月25日
摘要: [翻译] ASP.NET MVC Tip #2 - 创建可以返回Excel文档的自定义ActionResult原文地址:http://stephenwalther.com/blog/archive/2008/06/16/asp-net-mvc-tip-2-create-a-custom-action-result-that-returns-microsoft-excel-documents.asp... 阅读全文
posted @ 2010-03-25 09:56 Atom Yan 阅读(306) 评论(0) 推荐(0) 编辑
摘要: DataView ExportTo Excel 2003 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--Response.Clear();Response.Buffer=true;Response.Charset="GB2312";Response.... 阅读全文
posted @ 2010-03-25 09:31 Atom Yan 阅读(171) 评论(0) 推荐(0) 编辑
  2010年3月9日
摘要: 最新版Enterprise Library 企业库 V4.1 中文学习手册 一步一步学习ASP.NET MVC 1.0创建NerdDinner 范例程序 阅读全文
posted @ 2010-03-09 21:04 Atom Yan 阅读(123) 评论(0) 推荐(0) 编辑
  2010年2月2日
摘要: LINQ体验(17)——LINQ to SQL语句之动态查询example:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--using(EmployeeDBDataContextdb=newEmployeeDBDataCo... 阅读全文
posted @ 2010-02-02 22:25 Atom Yan 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 超强的jquery极品插件--色彩选择器类/ 右键菜单类/ 图片新闻flash展示类 阅读全文
posted @ 2010-02-02 22:14 Atom Yan 阅读(155) 评论(0) 推荐(0) 编辑
  2010年1月13日
摘要: http://msdn.microsoft.com/en-us/library/ms998558.aspx CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;publicsealedclassSingleton{priva... 阅读全文
posted @ 2010-01-13 11:38 Atom Yan 阅读(262) 评论(0) 推荐(0) 编辑
  2009年11月3日
摘要: 文件操作: 检查 创建 读取 写入修改 删除目录操作: 检查 创建 读取 写入修改 删除文件操作若要执行此操作...请参阅本主题中的示例...创建文本文件向文件写入文本 写入文本文件向文件写入文本 读取文本文件从文件读取文本 向文件中追加文本File.AppendText FileInfo.AppendText 重命名或移动文件File.Move FileInfo.MoveTo 删除文件File.... 阅读全文
posted @ 2009-11-03 11:57 Atom Yan 阅读(485) 评论(0) 推荐(0) 编辑