wyux6868

 

2010年7月18日

SQL 无限极分类获取子节点分类的SQL

摘要: 1、创建函数方法create function GetCategoryChilds(@id int) returns @category TABLE (ID int,Level int)asBEGINDECLARE @level intset @level = 1insert @category select @id,@levelWHILE @@ROWCOUNT>0BEGINSET @lev... 阅读全文

posted @ 2010-07-18 22:12 dream one minute 阅读(671) 评论(0) 推荐(0) 编辑

2009年11月11日

获取163联系人名字和邮箱地址

摘要: public class Mail163 { #region 163邮箱入口定义 const string mail_163_com = "https://reg.163.com/logins.jsp?username={0}&password={1}&type=1&url=http://entry.mail.163.com/coremail/fcg/ntesdoor2?l... 阅读全文

posted @ 2009-11-11 17:18 dream one minute 阅读(1465) 评论(0) 推荐(0) 编辑

使用HttpWebRequest发送POST请求

摘要: 1、创建HttpWebRequest对象HttpWebRequest对象用WebRequest.Create(url)方法获得。2、初始化HttpWebRequest对象(设置http请求常用属性)3、附加Post给服务器的数据到HttpWebRequest对象(写入HttpWebRequest对象提供的一个stream里面)4、读取服务器的返回信息(注意返回数据的Encoding) string... 阅读全文

posted @ 2009-11-11 16:45 dream one minute 阅读(7704) 评论(0) 推荐(1) 编辑

2009年11月10日

Firefox 和IE上传图片实现预览

摘要: <!doctype html public "-//w3c//dtd html 4.01//en" "http://www.w3.org/tr/html4/strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" conte... 阅读全文

posted @ 2009-11-10 15:00 dream one minute 阅读(616) 评论(1) 推荐(1) 编辑

2009年6月10日

(转)C#开源资源

摘要: 一、AOP框架 Encase 是C#编写开发的为.NET平台提供的AOP框架。Encase 独特的提供了把方面(aspects)部署到运行时代码,而其它AOP框架依赖配置文件的方式。这种部署方面(aspects)的方法帮助缺少经验的开发人员提高开发效率。 NKalore是一款编程语言,它扩展了C#允许在.net平台使用AOP。NKalore的语法简单、直观,它的编译器是基于Mono C#编译器(M... 阅读全文

posted @ 2009-06-10 09:20 dream one minute 阅读(386) 评论(0) 推荐(0) 编辑

2009年5月27日

学习,C#操作Word,Asp.net技术

摘要: 1、js去除字符串中的空格function trim(strToTrim) { return strToTrim.replace(/^\s+|\s+$/g, "") } 2、数据生成wordusing System;using System.Collections.Generic;using System.Linq;using System.Web;using Microsoft.Office.I... 阅读全文

posted @ 2009-05-27 10:10 dream one minute 阅读(615) 评论(0) 推荐(0) 编辑

2009年3月29日

谢谢各位博主

摘要: 常常总是看别人写的东西,技术也不过关,没能写出东西,感谢各博主的分享,太感谢,多希望自己有一天也来写一些文章,继续努力! 阅读全文

posted @ 2009-03-29 23:50 dream one minute 阅读(172) 评论(1) 推荐(0) 编辑

导航