会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
努力实现目标
首页
博问
闪存
新随笔
订阅
管理
上一页
1
···
18
19
20
21
22
23
24
25
下一页
2010年2月9日
c#经典常用小函数 winform
摘要: public class Utils{ public static int GetStringLength(string str) {//计算字符串字节长度 return Encoding.Default.GetBytes(str).Length; } /* public static string Trim(string str) { if (str.Substring(0, 1) == " "...
阅读全文
posted @ 2010-02-09 11:40 努力实现目标
阅读(1743)
评论(0)
推荐(0)
编辑
2010年2月5日
GridView Bind 短日期 格式
摘要: 在ASP.NET的GridView控件的编辑模板中,需要绑定数据库中的某个字段,如<%# Bind("startTime","{0:d}") %> 在显示时,2008-9-9日将显示成2008-09-09,该怎么写这个格式呢?Eval和Bind的格式化字符串所处位置不同,以下举出几个例子:1.Eval是单向取值,既可以使用系统定义的函数格式化,也可以调用自己定义的格式化函数(如例子中的...
阅读全文
posted @ 2010-02-05 21:17 努力实现目标
阅读(2045)
评论(0)
推荐(0)
编辑
2010年2月4日
VS2005中使用webBrowser控件实现自动登录Gmail邮件的实例
摘要: 这是一个小实现,可以实现自动登录Gmail邮箱。使用VS2005 C#新建一个 Windows应用程序,在Form1窗体上添加一个webBrowser控件,编写如下代码,就可以实现:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Draw...
阅读全文
posted @ 2010-02-04 15:52 努力实现目标
阅读(1229)
评论(0)
推荐(0)
编辑
2010年2月3日
Win7 RC版三月起提示停用 每2小时将重启一次
摘要: [导读]从3月1日起,任务栏上的弹出提示会继续出现,电脑也会每两小时重启一次。在重启过程中,未完成的工作文档等等将不会得到保存。Win7 RC版三月起提示停用 每2小时将重启一次(腾讯科技配图)腾讯科技讯(编译/梦希)北京时间2月2日消息,据国外媒体报道,微软Windows官方博客今日发文称,自2月15日起,Windows7 RC版(发布候选版)操作系统的用户将收到使用期限提示。从2月15日起,系...
阅读全文
posted @ 2010-02-03 15:58 努力实现目标
阅读(344)
评论(0)
推荐(1)
编辑
2010年1月30日
微软Windows 7实现10秒启动的背后
摘要: 实际上,早在Windows 7处于M3阶段的时候,微软就对Windows 7的表现非常自信。2009年11月初,微软展示了Windows Vista和Windows 7 M3之间的速度差异,结果表明,Windows 7略胜一筹。 据国外媒体报道,当Windows 7处于开发阶段的时候,早期的Beta版和RC版的采用者就一致认为,Windows 7在各个方面都较Vista优越。 主要负责Wind...
阅读全文
posted @ 2010-01-30 20:18 努力实现目标
阅读(296)
评论(0)
推荐(0)
编辑
微软Windows 7 SP1截图泄露
摘要: 据国外媒体报道,早在2009年7月22日,微软就已经完成了Windows 7客户端和服务器操作系统的研发。毋庸置疑的,微软随后就已经展开了Windows 7 SP1和Windows 8的研发工作。然而,迄今为止,微软尚未对外分享任何Windows 7 SP1和Windows 8的任何细节。 不过,小道消息显示,微软已经顺利开发出Windows 7和Windows Server 2008 R2 R...
阅读全文
posted @ 2010-01-30 20:14 努力实现目标
阅读(326)
评论(0)
推荐(1)
编辑
2010年1月26日
C# 网页信息采集(Form.cs)
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Web;using System.Net;using Sy...
阅读全文
posted @ 2010-01-26 14:48 努力实现目标
阅读(2014)
评论(0)
推荐(0)
编辑
C# 网页信息采集(数据访问)
摘要: using System;using System.Collections;using System.Collections.Specialized;using System.Data;using System.Data.SqlClient;using System.Configuration;namespace WebBee{ /// <summary> /// Copyright ...
阅读全文
posted @ 2010-01-26 14:46 努力实现目标
阅读(1307)
评论(1)
推荐(0)
编辑
c#采集网页用得几个函数 有解释
摘要: public string GetHtmlSource(string Url, string charset) //得到Html源代码 { if (charset == "" || charset == null) charset = "gb2312"; string text1 = ""; try { HttpWebRequest request1 = (HttpWebRequest)WebR...
阅读全文
posted @ 2010-01-26 14:45 努力实现目标
阅读(565)
评论(0)
推荐(0)
编辑
C#收集网页中的EMail实现源码
摘要: C#收集网页中的EMail实现源码: //CAll private void GetAllURL(string urlStr) { new Thread(new ParameterizedThreadStart(GetEmailAddress)).Start(urlStr); ... //处理页面中的Link } /**//// <summary> /// 提取网页中的Eamil...
阅读全文
posted @ 2010-01-26 14:44 努力实现目标
阅读(554)
评论(0)
推荐(1)
编辑
上一页
1
···
18
19
20
21
22
23
24
25
下一页