摘要: 2012年3月29日 天气有雨 日子是否太舒坦了,都没什么雄心啊壮志啊,给自己一巴掌!很操蛋的问题,vs找不到命名空间了,原来是web网站类代码必须放在web_code,浪费我3个小时时间啊我建立的类,如果不放在app_code文件夹其他页面根本用不了它,一放进去就可以用了,为什么? 比如一个公共... 阅读全文
posted @ 2012-03-29 23:06 话里 阅读(391) 评论(0) 推荐(0)
摘要: 2012年3月25日 天气晴 大情天、不过我今天起的很早,帮人考access机试,奋斗了一周。感觉考得不错。xml网站计数器using System;using System.Data;using System.Configuration;using System.Web;using System.... 阅读全文
posted @ 2012-03-25 23:10 话里 阅读(124) 评论(0) 推荐(0)
摘要: 2012年3月22日 天气 下雨 何来晴日,都下了快两个月雨了,春雨绵绵,也不用这样吧!//基于DOM的XML文档读写using System;using System.Collections.Generic;using System.Text;using System.Xml;namespace ... 阅读全文
posted @ 2012-03-22 20:10 话里 阅读(144) 评论(0) 推荐(0)
摘要: 2012年3月19日 天气有雨 没事找事找 不懂得拒绝 招来的事 往心里面咽! 阅读全文
posted @ 2012-03-19 22:37 话里 阅读(111) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Text.RegularExpressions;using System.IO;namespace 正则表达式... 阅读全文
posted @ 2012-03-15 12:52 话里 阅读(1327) 评论(0) 推荐(0)
摘要: 2012年3月14日 天气阴 要奋斗了using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Diagnostics;using System.Data;namesp... 阅读全文
posted @ 2012-03-14 12:12 话里 阅读(175) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 匿名函数与lambda{ class Program { static void Main(string[] arg... 阅读全文
posted @ 2012-03-14 12:09 话里 阅读(140) 评论(0) 推荐(0)
摘要: 2012年3月12日 天气阴 蛋疼的一天为什么有委托希望能够调用一个函数,但是写程序的时候不用知道调用的是哪个函数,只要能传参数,取返回值就可以。委托的使用声明委托的方式:delegate 返回值类型 委托类型名(参数)比如delegatevoid StringProcess(string s);注... 阅读全文
posted @ 2012-03-12 23:34 话里 阅读(110) 评论(0) 推荐(0)
摘要: 这篇文章是别的博客复下来,收藏的:编写程序的时候,经常需要用的项目根目录。自己总结如下1、取得控制台应用程序的根目录方法 方法1、Environment.CurrentDirectory 取得或设置当前工作目录的完整限定路径 方法2、AppDomain.CurrentDomain.BaseDirec... 阅读全文
posted @ 2012-03-11 21:51 话里 阅读(213) 评论(0) 推荐(0)
摘要: 有一段时间,生成缩略图一直困扰着我,当时,我还傻傻的用百度搜 “把大图片转换成小图片”,未能找到。这个代码是我参考了网上的代码写的一个类:using System;using System.Collections.Generic;using System.Linq;using System.Text... 阅读全文
posted @ 2012-03-10 20:35 话里 阅读(210) 评论(0) 推荐(0)