资源简介
网上新闻,招聘新闻,想采集什么就采什么,大部分都能采,我公司得信息就是用这个东西采集得,虽然小,但实用,不用再写许多程序了,呵呵,以后再完善一下,

代码片段和文件信息
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Net;
using System.IO;
using System.Text;
using System.Collections;
using System.Text.Regularexpressions;
using System.Collections.Generic;
using System.Data.SqlClient;
public partial class _Default : System.Web.UI.Page
{
HtmlBin htmlbin = new HtmlBin();
CgTag cgTag = new CgTag();
SqlHelp helps = new SqlHelp();
protected void Page_Load(object sender EventArgs e)
{
if (!IsPostBack)
{
Response.Write(“著作人:程功QQ:719126100欢迎大家和我交流“);
loadBin();
}
}
public string tr = ““;
private void loadBin()
{
string filePath = “file/“ + HttpUtility.UrlDecode(Request.QueryString[“fileName“]);
if (File.Exists(Server.MapPath(filePath)))
{
HtmlTag htmTag = htmlbin.readBin(Server.MapPath(filePath));
this.Txt_code.Text = htmTag.Code;
this.Txt_code2.Text = htmTag.Code2;
this.Txt_endTag.Text = htmTag.EndTag;
this.Txt_name.Text = Request.QueryString[“fileName“];
this.Txt_startTag.Text = htmTag.StartTag;
this.Txt_wz.Text = htmTag.Url;
this.Txt_sql.Value = htmTag.Sql;
this.Txt_connStr.Value = htmTag.ConnStr;
this.Txt_erji.Text = htmTag.EjWz;
this.Txt_wzml.Text = htmTag.WzMl;
for (int i = 0; i < htmTag.Lists.Count; i++)
{
Htmlparam param = (Htmlparam)htmTag.Lists[i];
tr += ““;
tr += string.Format(“ “ param.Name);
tr += string.Format(“ “ param.StartTag);
tr += string.Format(“ “ param.EndTag);
tr += “click=‘del_click(this.parentNode.parentNode.rowIndex)‘>删除 “;
tr += “click=‘btnyl2(this.parentNode.parentNode.rowIndex)‘>预览 “;
tr += “ “;
}
}
}
private void saveBin()
{
string filePath = “file/“ + HttpUtility.UrlDecode(Request.QueryString[“fileName“]);
HtmlTag htmTag = new HtmlTag();
htmTag.Code = this.Txt_code.Text;
htmTag.Code2 = this.Txt_code2.Text;
htmTag.StartTag = this.Txt_startTag.Text;
htmTag.EndTag = this.Txt_endTag.Text;
htmTag.Sql = this.Txt_sql.Value;
htmTag.Url = this.Txt_wz.Text;
htmTag.ConnStr = this.Txt_connStr.Value;
htmTag.WzMl = this.Txt_wzml.Text;
htmTag.EjWz = this.Txt_erji.Text;
string
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1729 2010-09-30 17:41 采集软件\App_Code\CgTag.cs
文件 1211 2010-09-18 15:07 采集软件\App_Code\HtmlBin.cs
文件 1274 2010-09-18 16:10 采集软件\App_Code\Htmlparam.cs
文件 2347 2010-09-18 17:41 采集软件\App_Code\SqlHelp.cs
文件 3080 2010-10-11 23:20 采集软件\App_Code\HtmlTag.cs
文件 1299 2010-10-11 23:20 采集软件\file\2多网打折卡
文件 1337 2010-09-28 10:14 采集软件\file\3多网打折卡
文件 1402 2010-09-30 16:34 采集软件\file\58房屋房屋整组
文件 838 2010-09-30 16:56 采集软件\file\c_宠物狗
文件 623 2010-09-30 17:19 采集软件\file\c_招聘
文件 1562 2010-10-09 09:42 采集软件\file\c_火车票转让
文件 1603 2010-09-30 15:59 采集软件\file\w_房屋合租
文件 874 2010-10-11 23:21 采集软件\file\促销招聘
文件 1345 2010-10-08 10:04 采集软件\file\复件 (2) c_火车票转让
文件 869 2010-10-08 10:28 采集软件\file\复件 c_火车票转让
文件 1346 2010-10-11 23:24 采集软件\file\多网打折卡
文件 99005 2010-08-05 17:25 采集软件\js\jquery.js
..A..H. 7168 2010-10-11 23:25 采集软件\cg2.suo
文件 504 2010-10-11 22:38 采集软件\Default2.aspx
文件 469 2010-09-18 16:50 采集软件\TagManage.aspx
文件 1546 2010-09-17 18:15 采集软件\Web.Config
文件 1527 2010-10-11 23:28 采集软件\采集软件.sln
..A..H. 8704 2010-10-21 22:43 采集软件\采集软件.suo
文件 9264 2010-10-21 22:32 采集软件\Default.aspx.cs
文件 1501 2010-10-21 22:33 采集软件\Default2.aspx.cs
文件 1028 2010-10-21 22:35 采集软件\TagManage.aspx.cs
文件 4447 2010-10-21 22:41 采集软件\Default.aspx
目录 0 2010-09-30 17:41 采集软件\App_Code
目录 0 2010-09-17 17:48 采集软件\App_Data
目录 0 2010-09-18 14:42 采集软件\bin
............此处省略7个文件信息
相关资源
- labview中的DAQ助手采集多个通道电压
- USB.Over.Network.Server 注册机
- dotnet 写字板 实验 源代码 不好请要不
- .net面试简历内容非常细致
- .net网站服装销售系统(MVC)
-
分别适用于.NET fr
amework 2.0和4.0的E - 数据采集系统——ADC0808的应用,单片
-
安装 .net fr
amework 4.0失败原因是KB9 - AD7606采集程序
- CY7C68013A固件程序(用于摄像机采集)
- 基于AT89C51的数据采集系统设计新方法
- 基于delphi的声卡采集程序.rar
- vs2005骑士巡游问题-分治法C
- 企业销售管理信息系统(全套)
- stm32通过DMA方式采集ADC数据
- 选择题自动考试系统
- EXCEL文件转换成固定的格式的文本格式
- .net计件工资管理程序 啊
- powerdatagrid控件 源码
- 创龙C66x平台GigE工业相机图像采集案例
- SunnyUI.Net
- .NET WinForm 和 WPF 的UI界面库,收集整合
- 全自动采集getshell工具
- LabVIEW 数据采集 模拟量+编码器(Daq
- LabVIEW 声音信号的采集与存储.vi
- 多通道数据采集.vi(labview)
- 基于LabVIEW的声卡声音采集与播放
- 基于labVIEW的虚拟数据采集与输出仿真
- VS1053B编解码器的VDR分布式声音采集卡
- Oxford Industries 采用 Microsoft.NET 平台实
评论
共有 条评论