Multiple DropDownLists Inside the GridView Item Template Field
摘要:Position Reset) >> Multiple DropDownLists Inside the GridView Item Template FieldFriday, September 15, 2006 2:02 PM Sometimes you have two DropDownLists inside the GridView Item Tempalte Field. This scenario is encountered when the DropDownList have a parent-child relationship. So, you want to
阅读全文
用Visual C#发送电子邮件
摘要:http://www.qqgb.com/Program/CCC/CCCnetprogram/Program_91487.htmlVisual C#是微软公司推出的下一代程序开发语言。他不仅具有Visual C++功能强大的特点,又具有Visual Basic的简洁,易上手的特点。所以一经推出,就收到了广大程序开发人员的欢迎。Visual C#和Visual C++的一个明显的区别在于,Visual C#本身是没有类库的,而Visual C++却是自身就带有类库。Visual C#虽然没有类库,但作为.Net框架中的一个十分重要的开发语言。他可以使用.Net框架提供的一个通用的软件开发包--.N
阅读全文
利用 ICallbackEventHandler接口 实现客户端回调
摘要:http://www.cnblogs.com/kokoliu/archive/2009/02/03/916427.html摘要 现在基于.Net的Ajax框架很多,Ajax已经变得很傻瓜化,甚至MS还很狂的说,现在所有的Asp.Net程序员都可以在简历上写会Ajax技术,MS狂妄的资本就是MS的Asp.Net 2.0 Ajax框架。众多的Ajax框架确实给我们开发带来了很多的方便,甚至把Ajax的应用简化到控件拖拉的地步,但这也直接导致了很多人滥用Ajax,只要高兴就套个UpdatePannel,这已经成为很多程序员的习惯,却不知道这样做得到的往往是反效果,增加了服务器的负担。 在写程序的
阅读全文
菜鸟练习C#htmlparser----C#正则加htmlDOM进行网页解析腾讯新闻帖子列表相关信息提取
摘要:http://blog.csdn.net/finallyliuyu/archive/2009/05/06/4156071.aspx适用网站有7.奇闻异事:http://news.qq.com/newssh/qwqs/qwqs3j.htm(简单无其他连接)trtd·a target="_blank" class="rlk1" href="/a/20090504/000868.htm"组图:地球上最像外星的九大地方/aspan class="text06"(2009年05月04日11:17)/span/td/tr时间8.社会观察:http://news.qq.com
阅读全文
网页设计特殊字符编码大全
摘要:http://study.feloo.com/gaokao/37158.html往网页中输入特殊字符,需在html代码中加入以&开头的字母组合或以&#开头的数字。例如,版权标志符©即是用©或©表示。下面就是以字母或数字表示的特殊符号大全。字母编码数字编码效果说明�- 没被使用 horizontal tab
line feed没被使用 空格!!"""##$$%%&&&''(())**++,,--..//
阅读全文
URL编码表
摘要:URL编码表 ? 退格 TAB 换行 回车 空格 ! " # $ % & ' ( ) * + , - . /%00 %01 %02 %03 %04 %05 %06 %07 %08 %09 %0a %0b %0c %0d %0e %0f %10 %11 %12 %13 %14 %15 %16 %17 %18 %19 %1a %1b %1c %1d %1e %1f %20 %21
阅读全文
sql waitfor delay ,waitfor delay
摘要:WAITFOR time '16:36:00' 到这个时间执行WAITFOR delay '16:36:00' 延迟这么长的后执行
阅读全文
创建和除去全文目录,然后启动和停止目录的索引操作。可为每个数据库创建多个全文目录
摘要:Transact-SQL 参考sp_fulltext_catalog创建和除去全文目录,然后启动和停止目录的索引操作。可为每个数据库创建多个全文目录。 语法sp_fulltext_catalog [ @ftcat = ] 'fulltext_catalog_name' ,[ @action = ] 'action'[ , [ @path = ] 'root_directory' ]参数[@ftcat =] 'fulltext_catalog_name'全文目录的名称。对于每个数据库,目录名必须是唯一的。fulltext_catalog_name 的数据类型为 sysname。[@action
阅读全文
返回有关全文目录属性的信息
摘要:http://www.yesky.com/imagesnew/software/tsql/ts_fa-fz_7x15.htmTransact-SQL 参考FULLTEXTCATALOGPROPERTY返回有关全文目录属性的信息。语法FULLTEXTCATALOGPROPERTY ( catalog_name , property )参数catalog_name包含全文目录名称的表达式。property包含全文目录属性名称的表达式。下表列出了这些属性,并提供所返回信息的描述。属性描述PopulateStatus0 = 空闲1 = 正在进行完全填充2 = 已暂停 3 = 中止 4 = 正在恢复 5
阅读全文
购物客的四个存储过程
摘要:1. importDataset ANSI_NULLS ONset QUOTED_IDENTIFIER ONgoALTER procedure [dbo].[importData](@table_type int)asif @table_type = 1begin insert into gwkproduct_one SELECT [id] ,[merchantId] ,[ProductName] ,[refprice] ,[price_1] ,[PinPai] ,[picurl] ,[shortintro] ,[SearchKeyword] ,[BrowseNodeKeyword] ,[ur
阅读全文
提取页面HTML代码
摘要:方法一:采用 WebClient ,代码如下using System.Net;{ string strurl="网址"; WebClient aWebClient = new WebClient(); aWebClient.Encoding = System.Text.Encoding.UTF8; string htmlcode = aWebClient.DownloadString(strurl); txtbox.Text=htmlcode;//txtbox为一个文本框}方法二:采用 HttpWebRequest HttpWebResponse ,代码如下using System.Net;{
阅读全文
HtmlParser.NET 参考资料
摘要:例子1:using System;using System.IO;using Winista.Text.HtmlParser;using Winista.Text.HtmlParser.Lex;using Winista.Text.HtmlParser.Util;using Winista.Text.HtmlParser.Tags;private void button1_Click(object sender, EventArgs e){ //we can use the stream to load a html file from the local disk // or use the
阅读全文
使用HtmlParser解析HTML (C#版)
摘要:如果要对HTML进行解析,提取HTML的数据或者修改HTML数据,HtmlParser是一个不错的选择. 使用HtmlParser可以解析本地和网络上的HTML数据: Parser parser = new Parser( new Winista.Text.HtmlParser.Http.HttpProtocol(new Uri("uriString"))); Parser parser = new Parser( new Winista.Text.HtmlParser.Lex.Lexer( "HtmlString" ) ); System.IO.Stream stream = new Sys
阅读全文
初识HtmlParser.net
摘要:一、HTMLParser.net是什么?HTMLParser.net是HtmlParser的JAVA版本的dot net版本。二、HTMLParser可以用来做什么?HtmlParser是用来改造或者提取HTML,通过HtmlParser可以高速,快捷的从Html页面中分离出你想要的内容。三、HTMLParser的核心模块是org.htmlparser.Parser类,这个类实际完成了对于HTML页面的分析工作。这个类有下面几个构造函数: public Parser (); public Parser (Lexer lexer, ParserFeedback fb); public Parse
阅读全文
SQL Server 2005与SQL Server 2008 的区别
摘要:随时随地管理您的数据 SQL Server 2008 在 Microsoft 的数据平台上发布,帮助您的组织随时随地管理任何数据。它可以将结构化、半结构化和非结构化文档的数据(例如图像和音乐)直接存储到数据库中。SQL Server 2008 提供一系列丰富的集成服务,可以对数据进行查询、搜索、同步、报告和分析之类的操作。数据可以存储在各种设备上,从数据中心最大的服务器一直到桌面计算机和移动设备,您可以控制数据而不用管数据存储在哪里。 SQL Server 2008 允许您在使用 Microsoft .NET 和 Visual Studio 开发的自定义应用程序中使用数据,在面向服务的架构(S
阅读全文
URL 编码
摘要:webform 中 直接用Server.UrlDecode(“解码”) UrlEncode(“编码”)winform 中用System.Web.HttpUtility.UrlDecode(“解码”)UrlEncode(“编码”)
阅读全文
把XML读入流 进行解析XML
摘要:WebRequest request = WebRequest.Create("http://www.all3c.com:8080/StoreAdmin_rebuild/report/all3c_gouok.xml"); StreamReader reader = new StreamReader(request.GetResponse().GetResponseStream(), Encodin...
阅读全文
DataSet 和Excel 相互转换的类代码 非常有用 我的代码
摘要:using System;using System.Data;using System.Data.OleDb;using System.Windows.Forms;using Microsoft.Office.Interop.Excel;namespace DS_EXCEL{/// <summary>/// ImportExportToExcel 的摘要说明。/// </summ...
阅读全文
Process.Start(@"C:\Program Files\360\360Se\360se3\360se.exe", sr.ReadLine());
摘要:Process.Start(@"C:\Program Files\360\360Se\360se3\360se.exe", sr.ReadLine());第一个参数: 要调用的程序路径第二个参数:程序的执行参数
阅读全文
XmlWriter 创建XML文件 我的代码
摘要:1.用2个writer.WriteStartElement("“)//可以达到子节点的效果static void Main(string[] args) { string app_path = Application.StartupPath + "\\gouwuke.xml"; XmlWriterSettings settings = new XmlWriterSettings();...
阅读全文
获取一号店的接口数据 我的程序
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Xml;using System.IO;using System.Net;namespace 获取接口的数据{ class Program { static void Main(string[] args) {...
阅读全文
删除文件夹
摘要:Directory.Delete(path, true);true:文件夹下的所有都删除
阅读全文