-
大小: 1.76MB文件类型: .rar金币: 2下载: 0 次发布日期: 2023-08-30
- 语言: 其他
- 标签: 数据采集 webBrowser
资源简介
使用webBrowser采集网页数据,对一些需要登录,或有验证的,可以在webBrowser控件中手动登录或验证后,在开始批量采集

代码片段和文件信息
/** 版本信息模板在安装目录下,可自行修改。
* sys_Price.cs
*
* 功 能: N/A
* 类 名: sys_Price
*
* Ver 变更日期 负责人 变更内容
* ───────────────────────────────────
* V0.01 2016/10/28 17:27:14 N/A 初版
*
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
*┌──────────────────────────────────┐
*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
*│ 版权所有:动软卓越(北京)科技有限公司 │
*└──────────────────────────────────┘
*/
using System;
using System.Data;
using System.Collections.Generic;
using NGJ.Common;
using NGJ.Model;
namespace NGJ.BLL
{
///
/// sys_Price
///
public partial class sys_Price
{
private readonly NGJ.DAL.sys_Price dal=new NGJ.DAL.sys_Price();
public sys_Price()
{}
#region BasicMethod
///
/// 得到最大ID
///
public int GetMaxId()
{
return dal.GetMaxId();
}
///
/// 是否存在该记录
///
public bool Exists(int ID)
{
return dal.Exists(ID);
}
///
/// 增加一条数据
///
public int Add(NGJ.Model.sys_Price model)
{
return dal.Add(model);
}
///
/// 更新一条数据
///
public bool Update(NGJ.Model.sys_Price model)
{
return dal.Update(model);
}
///
/// 删除一条数据
///
public bool Delete(int ID)
{
return dal.Delete(ID);
}
///
/// 删除一条数据
///
public bool DeleteList(string IDlist )
{
return dal.DeleteList(IDlist );
}
///
/// 得到一个对象实体
///
public NGJ.Model.sys_Price GetModel(int ID)
{
return dal.GetModel(ID);
}
///
/// 得到一个对象实体,从缓存中
///
public NGJ.Model.sys_Price GetModelByCache(int ID)
{
string CacheKey = “sys_PriceModel-“ + ID;
object objModel = NGJ.Common.DataCache.GetCache(CacheKey);
if (objModel == null)
{
try
{
objModel = dal.GetModel(ID);
if (objModel != null)
{
int ModelCache = NGJ.Common.ConfigHelper.GetConfigInt(“ModelCache“);
NGJ.Common.DataCache.SetCache(CacheKey objModel DateTime.Now.AddMinutes(ModelCache) TimeSpan.Zero);
}
}
catch{}
}
return (NGJ.Model.sys_Price)objModel;
}
///
/// 获得数据列表
///
public DataSet GetList(string strWhere)
{
return dal.GetList(strWhere);
}
///
/// 获得前几行数据
///
public DataSet GetList(int Topstring strWherestring filedOrder)
{
return dal.GetList(TopstrWherefiledOrder);
}
///
/// 获得数据列表
///
public List GetModelList(string strWhere)
{
DataSet ds = dal.GetList(strWhere);
return DataTableToList(ds.Tables[0]);
}
///
/// 获得数据列表
///
public List DataTableToList(DataTable dt)
{
List modelList = new List(
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 315 2016-10-31 11:35 ProWebBrowserCaiJi\ProWebBrowserCaiJi\app.config
文件 178688 2016-10-21 10:00 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\Aliyun.MNS.dll
文件 769536 2016-10-21 10:00 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\Aliyun.MNS.pdb
文件 172032 2015-08-04 19:29 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\Aliyun.OSS.dll
文件 15360 2013-03-20 11:32 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\COM.Excel.dll
文件 145920 2016-10-28 15:29 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\CSRedis.dll
文件 517632 2016-10-28 15:29 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\CSRedis.pdb
文件 1089536 2013-03-20 11:32 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\Excel.dll
文件 102400 2013-03-20 11:32 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\IBatisNet.Common.dll
文件 249856 2013-03-20 11:33 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\IBatisNet.DataMapper.dll
文件 288768 2016-03-31 17:29 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\log4net.dll
文件 369152 2013-03-20 11:33 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\MySql.Data.dll
文件 439296 2015-03-26 09:22 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\Newtonsoft.Json.dll
文件 180224 2016-10-28 15:29 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\NGJ.Common.dll
文件 368128 2016-10-28 15:29 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\NGJ.Common.pdb
文件 65536 2016-10-21 10:00 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\NGJ.DBUtility.dll
文件 169472 2016-10-21 10:00 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\NGJ.DBUtility.pdb
文件 45056 2013-03-20 11:33 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\OpenSmtp.dll
文件 32256 2016-10-31 11:39 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\ProWebBrowserCaiJi.exe
文件 315 2016-10-31 11:35 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\ProWebBrowserCaiJi.exe.config
文件 73216 2016-10-31 11:39 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\ProWebBrowserCaiJi.pdb
文件 11600 2016-10-31 11:37 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\ProWebBrowserCaiJi.vshost.exe
文件 315 2016-10-31 11:35 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\ProWebBrowserCaiJi.vshost.exe.config
文件 490 2016-07-16 19:44 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\ProWebBrowserCaiJi.vshost.exe.manifest
文件 66048 2015-12-28 18:12 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\Senparc.Weixin.dll
文件 480256 2015-12-28 18:12 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\Senparc.Weixin.MP.dll
文件 847872 2013-03-20 11:33 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\System.Data.SQLite.dll
文件 15872 2016-10-28 15:29 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\WeiPay.dll
文件 42496 2016-10-28 15:29 ProWebBrowserCaiJi\ProWebBrowserCaiJi\bin\Debug\WeiPay.pdb
文件 5610 2016-10-31 11:33 ProWebBrowserCaiJi\ProWebBrowserCaiJi\BLL_sys_Price.cs
............此处省略39个文件信息
相关资源
- 数据采集系统——ADC0808的应用,单片
- 基于AT89C51的数据采集系统设计新方法
- LabVIEW 数据采集 模拟量+编码器(Daq
- 多通道数据采集.vi(labview)
- 基于labVIEW的虚拟数据采集与输出仿真
- 一种用ARM7+UC/OS-II设计的信号采集系统
- 基于LabVIEW的并行数据采集系统设计
- TD-SCDMA网络测试仪中E1数据采集卡的驱
- 基于51单片机的多通道数据采集范围控
- 数据采集系统——ADC0808的应用
- CC2530的分布式无线数据采集系统设计
- 基于ZigBee的工业无线数据采集器设计
- 基于ZigBee的油井无线数据采集系统的
- 基于Zigbee的连采工作面机械设备数据
- 基于ADS5517的无线数据采集模块设计
- 淘你妹淘宝店铺数据采集大师 v1.0
- 12位、1 MSPS、单电源、低功耗数据采集
- 基于LINUX与GPRS网络的无线数据采集与
- 使用LabVIEW软件进行数据采集和信号处
- 电信运营计费管理系统中数据采集与
- 基于C8051F320 USB接口的数据采集存储电
- 安卓版GIS数据采集系统软件及使用说
- SCADA系统中,各类传感器信号隔离转换
- Contec康泰克数据采集卡使用说明
- LabView虚拟仪器数据采集与串口通信测
- ADS1256-STM32+数据采集板资料.zip
- 研华4017测试软件,最新安装版
- FOCAS2中文说明文档、源码、 机床数据
- FANUC数据采集282578
- 研华数据采集应用与编程
评论
共有 条评论