自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(50)
  • 资源 (69)
  • 收藏
  • 关注

转载 jquery操作select标签

1.获取select 选中的 text: $("#cusChildTypeId").find("option:selected").text(); $("#cusChildTypeId option:selected").text()2.获取select选中的 value: $("#ddlRegType ").val();3.获取select选中的索引:     

2016-11-16 09:16:47 599

转载 sql 日期相关操作

1.DECLARE @Date DATETIME SET @Date = GETDATE () -- 前一天,给定日期的前一天 SELECT DATEADD ( DAY , - 1 , @Date ) AS 前一天 -- 后一天,给定日期的后一天 SELECT DATEADD ( DAY , 1 , @Date ) AS 后一天 GO -- 月初,计算给定日期所在月的第一天 DECLARE @

2016-06-07 09:53:31 496

原创 mvc控制器的action参数问题

1.为什么 public ActionResult Success(long aid,  int old, string src,Entity.order order) 对应的url中src、order参数可以不传,单是aid、old必传,否则进不了action方法?因为:(1) 参数如果为值类型,则必传。string类型可以不传,不传的话为”“,如果在其他方法中则为必传;

2016-05-19 12:30:09 2298

原创 判断文件路径、url是否可用

url的正则验证很值得

2016-05-12 14:57:26 2476

转载 socket

/// /// Socket /// public static class SlSocket { /// /// 发送信息 /// /// 端点IP /// 端点Port /// 消息 /// 是否接受消息 /// 数据编码方式

2016-01-29 10:24:57 510

原创 字符串类型html如何显示出html效果,字符串中的转义符以html效果显示出来,html编码, HtmlHelper.Raw()

字符串中的转义符如何正确显示html

2015-10-21 09:28:58 3391

原创 datatable转XML

datatable转XML

2015-10-10 10:42:35 477

原创 ASP.NET MVC 4json之JsonResult

后台: public JsonResult ChangeMallId(string old, string new) { bool success = false; string content = string.Empty; // ……数据操作 return Json(new

2015-09-21 11:10:05 1446

原创 发邮件MailMessage、SmtpClient

/// /// 发邮件 /// /// 正文 /// 标题 /// 发送邮箱 /// 接收邮箱 /// public static bool SendMail(string title, string body, string fromMail, List toMa

2015-09-16 17:34:59 1011

原创 xml与datatable间相互转换

//将xml转为Datable public static DataTable XmlToDataTable(string xmlStr) { if (!string.IsNullOrEmpty(xmlStr)) { StringReader StrStream = null;

2015-09-16 17:27:37 5621

原创 向某个url提交数据并读取该地址返回的xml,并将xml转换成dataset,并返回dataset中某个表

/// /// 向某个url提交数据并读取该地址返回的xml,并将xml转换成dataset,并返回dataset中某个表 /// /// 提交的低至 /// 参数 /// 表名 /// public static DataTable PostData(string url, st

2015-09-16 17:12:07 678

原创 datatable筛选、查询-------linq

for (int i = 0; i < dt.Rows.Count; i++) { var qu = from tb in dt.AsEnumerable() where //tb.Field("pid").ToString() == dt.Rows[i]["pid"]

2015-09-15 18:22:11 4195

原创 代码生成XML

string[] data1 = File.ReadAllLines("E:\\HtmlTxt.txt");//参考文件 string[] data2 = File.ReadAllLines("E:\\SqlTxt.txt");//数据文件 IEnumerable data5 = data1.Except(data2);

2015-09-07 15:55:46 390

原创 两个TXT文件比较 并集,交集

string[] data1 = File.ReadAllLines("E:\\HtmlTxt.txt");//参考文件 string[] data2 = File.ReadAllLines("E:\\SqlTxt.txt");//数据文件 IEnumerable data3 = data2.Except(data1); IE

2015-09-07 15:51:49 1984

原创 读取SQL生成txt文件

string ConStr = "Data Source=……;database=……;uid=……;pwd=……;"; SqlConnection con = new SqlConnection(ConStr); SqlCommand cmd = new SqlCommand("", con); cmd.Command

2015-09-07 15:47:33 1278

原创 html解析器 HtmlAgilityPack

可以到   http://www.oschina.net  开源中国社区下载相关Dll,百度有很多如何使用的资料 HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument(); doc.Load("city.html"); Html

2015-09-07 15:42:36 584

原创 c# send mail

/// /// 发邮件 /// /// 正文 /// 标题 /// 发送邮箱 /// 接收邮箱 /// public static bool sendMail(string Body, string title, string fromMail, string to

2015-09-01 09:39:09 903

原创 获取远程xml数据-表结构

/// /// 获取远程接口数据-表结构 /// /// 目标接口 /// 响应超时时间(单位秒) /// 读写流超时时间(单位秒) /// 数据表结果集 public static DataSet DownLoadRemoteData(string target, int Resp

2015-08-31 16:08:19 574

原创 获取web.config中appSettings的值

public static string getApp(string name) { if(string.IsNullOrEmpty(name)) return ""; string value = ConfigurationManager.AppSettings[name]+""; if (string.Is

2015-08-31 16:02:06 2876

原创 xml to datatable

xml: 阿坝州 abazhou s view_news_title_index_abazhou 阿克苏 akesu s view_news_title_index_akesu 安达 anda n view_news_title_index_anda 实现方式:

2015-08-31 15:19:07 454

转载 ArcGIS Engine下实现地图输出

摘要:我们在用ArcGIS Engine定制开发的时候,常常需要将当前的地图文档输出,或者以bmp的形式拷贝到剪贴板,那么到底该如何实现这些操作呢?这篇文章将会给我们介绍两种常用的方法。    我们在用ArcGIS Engine定制开发的时候,常常需要将当前的地图文档输出,或者以bmp的形式拷贝到剪贴板,那么到底该如何实现这些操作呢?这篇文章将会给我们介绍两种常用的方法。一、实现像ArcM

2015-07-23 15:34:43 2572

转载 ArcEngine开发_导出地图

using System;using System.Drawing;using System.Runtime.InteropServices;using ESRI.ArcGIS.ADF.BaseClasses;using ESRI.ArcGIS.ADF.CATIDs;using ESRI.ArcGIS.Carto;using ESRI.ArcGIS.Controls;using ES

2015-07-23 11:51:45 4853

转载 导出图片,包含栅格的地图导出的图片模糊,arcgis eingine

原因:栅格数据重采样了,解决方法:             PixelBoundsEnv = new Envelope() as IEnvelope;            if (bClipToGraphicsExtent && (docActiveView is IPageLayout))            {                docGraphicsE

2015-07-23 11:48:23 7745 2

转载 iOS 学习资料整理(中文版)

这份学习资料是为 iOS 初学者所准备的, 旨在帮助 iOS 初学者们快速找到适合自己的学习资料, 节省他们搜索资料的时间, 使他们更好的规划好自己的 iOS 学习路线, 更快的入门, 更准确的定位的目前所处的位置.该文档会持续更新, 同时也欢迎更多具有丰富经验的 iOS 开发者将自己的常用的一些工具, 学习资料, 学习心得等分享上来, 我将定期筛选合并, 文档尚有一些不完善之处, 也请不

2015-07-02 15:25:27 3385

转载 地图输出

很多的时候在地图制作完成以后,我们需要将它用不同的格式输出,如PDF,bmp等格式,这样的格式方便我们用户在没有安装ArcMap的计算机平台上对地图进行浏览,查看。地图输出可以分为两大类,即栅格数据和适量数据格式,前者的如BMP,JPG,而后者的如PDF,,SVG.IExport接口作为地图输出的主要接口,被不同的类实现,如下图所示: 这10个类都是组件类,可以直接用来实例

2015-05-26 10:02:17 1683

转载 AE程序5

33:使用PageLayoutControl打印private void PrintPageLayout(){IPrinter pPrinter;pPrinter = axPageLayoutControl1.Printer;IPaper pPaper;pPaper = pPrinter.Paper;IPage pPage;pPage = axPageLayoutC

2015-05-26 09:35:47 814

原创 arcgis gp工具补充------IGPUtilities

1.得到GP处理的结果数据2.获取数据

2015-05-25 15:59:57 1264

转载 完善 C# ListView 系列-可编辑单元格

希望是在 ListView 中双击某单元格时,该单元格内容可编辑。不过 ListView 本身是不带这个功能的,我们要实现的原理是获取双击的是哪个单元格,然后在该单元格显示一个文本框(也可以是其他控件,本文以文本框为例)。ListViewCellnamespace Yulin.YWinForm{ public class ListViewCell {

2015-05-20 17:45:40 11821

转载 extract by mask出现的问题总结

用一SHP区文件做为MASK裁剪一DEM栅格影像。裁剪后发现结果DEM与原DEM的某些像素值不同。by mask出现的问题总结" title="extract by mask出现的问题总结" style="margin:0px; padding:0px; border:0px; list-style:none">原因为裁切后两个栅格的象元并不一定是完全重叠的,有可能错位,也就是说对

2015-05-20 10:07:32 9399

原创 arcgis engine 获取高亮Feature、element

IGraphicsContainer pGraphicsC =  mainAxMapControl.Map as IGraphicsContainer; IGraphicsContainerSelect pGraphicsCSelect = pGraphicsC as IGraphicsContainerSelect;IEnumElement pEnumEle = pGraphicsCSe

2015-05-15 16:32:06 3133

转载 使用C#调用windows API(从其它地方总结来的,以备查询)

C#调用windows API也可以叫做C#如何直接调用非托管代码,通常有2种方法:1.  直接调用从 DLL 导出的函数。2.  调用 COM 对象上的接口方法我主要讨论从dll中导出函数,基本步骤如下:1.使用 C# 关键字 static 和 extern 声明方法。2.将 DllImport 属性附加到该方法。DllImport 属性允许您指定包含该方

2015-05-08 19:30:24 652

转载 C# 文件正由另一进程使用,该进程无法访问该文件

C#中经常会使用到OpenFileDialog控件,而使用该控件时若没有将条件设置好,很容易出现以下提示:“文件正由另一进程使用,该进程无法访问该文件”。打开一个文件后,尝试重新打开一次该文件,或者打开该文件后想对该文件进行其他操作的时候,就容易出现这个错误提示,错误的原因很简单,解决方法也很简单。一般情况下造成该错误的原因是构造System.IO.FileStream时参数设

2015-04-28 10:31:21 10470

转载 销毁资源和释放内存

0. 什么是资源? .NET 框架中如何访问资源?所谓的资源就是程序中可利用的数据,譬如:字符串、图片和任何二进制数据,包括任何类型的文件。在面向对象的环境中,每一个类型都标识为某些程序所用的资源,要想使用这些资源,必须为相应的类型分配一定的内存空间。访问一个资源需要如下几个步骤:1)分配内存空间: 调用中间语言(IL)中的newobj指令(使用new操作符时,将产生newobj指

2015-04-28 09:12:07 1281

转载 c#如何在多线程中访问Form中控件的多种解决方案(收集)

我们在做winform应用的时候,大部分情况下都会碰到使用多线程控制界面上控件信息的问题。然而我们并不能用传统方法来做这个问题,下面我将详细的介 绍。      首先来看传统方法:      public partial class Form1 : Form    {        public Form1()        {            Initial

2015-04-25 16:14:54 1879 1

转载 怎样运行地理处理工具 Geoprocessing & Geoprocessor & IGPProcess

In this topicHow to run a geoprocessing tool(这个地方在仔细整理下!!)Each geoprocessing tool has a fixed set of parameters that provide the tool with the information it needs for execution. Tools usual

2015-04-22 15:45:34 1014

转载 初学arcengine——ICommand 用法

ICommand 用法在ArcEngine类库中有大量的Command控件用来与地图控件进行操作和交互。比如有一系列的地图浏览控件、地图查询控件、图斑选取控件、编辑控件来与MapControl和PageLayoutControl进行交互。这些控件被包含在ESRI.ArcGIS.Controls.dll类库中,位于ESRI.ArcGIS.Controls命名空间下。这些内置的Comman

2015-04-22 15:44:11 4091 1

转载 arcgisengine中调用gp报错的问题

问题描述:在调用gp的时候,有些工具中如clip、转换工具、3d分析中的一些工具idw、classfiy等工具的时候添加了引用就不报错,但是在使用eliminate和smooth Polygon的时候就会提示错误如下图: 这种错误在排除了是输入参数错误之后,问题就是license权限不够。一般方法是添加arcinfo的license。解决方式:

2015-04-22 15:39:41 3136

转载 C#中WinForm程序退出方法技巧总结

这篇文章主要介绍了C#中WinForm程序退出方法,实例总结了技巧退出WinForm程序窗口的各种常用技巧,非常具有实用价值,需要的朋友可以参考下本文实例总结了C#中WinForm程序退出方法技巧。分享给大家供大家参考。具体分析如下:在c#中退出WinForm程序包括有很多方法,如:this.Close(); Application.Exit();Applicati

2015-03-13 09:52:52 784 1

转载 tiff显示、图片加载至tiff -----c#

Save images into a multi-page TIFF file or add images to an existing TIFF filebijulsoni, 27 Dec 2006 CPOL   4.85 (24 votes)

2015-03-12 10:12:06 2869

转载 tiff切片、合并、转换

A simple TIFF management classNotProfessional, 15 Dec 2004   4.67 (37 votes)Rate:vote 1vote 2vote 3vote 4vot

2015-03-12 10:06:33 5454

apache_drill_tutorial.pdf

https://www.tutorialspoint.com/apache_drill/apache_drill_pdf_version.htm https://www.tutorialspoint.com/apache_drill/apache_drill_pdf_version.htm https://www.tutorialspoint.com/apache_drill/apache_drill_tutorial.pdf https://www.tutorialspoint.com/apache_drill/apache_drill_tutorial.pdf https://www.tutorialspoint.com/apache_drill/apache_drill_tutorial.pdf https://www.tutorialspoint.com/apache_drill/apache_drill_tutorial.pdf

2020-08-04

twitter ads_campaign management(实体关系图,ProcessOn软件打开)

twitter ads_campaign management(实体关系图,ProcessOn软件打开) 各个实体之间的关系

2019-01-02

criteo开发相关

criteo开发相关;

2018-12-13

twitter ads_campaign management(2_full)

twitter ads_campaign management.xmind twitter ads_campaign management2.xmind

2018-10-30

twitter ads_campaign management

twitter ads_campaign management

2018-10-29

Facebook Ads_Business Manager.xmind

Facebook Ads_Business Manager;Facebook Ads_Business Manager;Facebook Ads_Business Manager

2018-10-24

数学之美-吴军

数学之美 吴军 数学之美 吴军 数学之美 吴军 数学之美 吴军 数学之美 吴军

2017-10-17

Head First 设计模式

Head First 设计模式 Head First 设计模式 Head First 设计模式 Head First 设计模式 Head First 设计模式 Head First 设计模式

2017-09-14

JSON生成类

json自动生成class json自动生成class json自动生成class json自动生成class json自动生成class json自动生成class json自动生成class

2017-09-05

重构-修改代码的艺术

重构-修改代码的艺术

2017-08-28

7数据库技术基础

7数据库技术基础 7数据库技术基础 7数据库技术基础

2017-03-14

8数据结构 

8数据结构

2017-03-09

软件设计师12

12软件系统分析与设计

2017-02-28

反射简单示例

反射示例,简单示例。仅供参考

2016-12-26

ASP.NET Provider Model.pdf

ASP.NET Provider Model.pdf 很详细,全英文

2016-12-14

H+ 后台主题UI框架 破解版

H+ 后台主题UI框架 破解版

2016-12-12

Redis相关资料

Redis在很多方面具备数据库的特征,或者说就是一个数据库系统,而 Memcached只是简单的K/V缓存 可以当缓存来用,提高性能。 基础

2016-12-12

Ionic移动开发

Ionic移动开发,vs2015以上版本,可以同时开发安卓、ios应用程序

2016-12-12

provider pattern

简单的可以运行的provider pattern例子,适合刚接触的初学者

2016-12-07

MiniProfiler

MiniProfiler,在网页上实现类似sql server profiler的性能监控

2016-09-19

jakarta-ee-10-rabbitmq-messaging

Jakarta EE 10 Messaging with RabbitMQ by Kevin Jones RabbitMQ is a cross-platform, cross-language ‘message broker.' This course will teach you how to use RabbitMQ’s Java library to publish and consume messages. You will understand exchanges and queues and how to use different message patterns.

2023-03-16

routing-messages-slides.pdf

Jakarta EE 10 Messaging with RabbitMQ by Kevin Jones RabbitMQ is a cross-platform, cross-language ‘message broker.' This course will teach you how to use RabbitMQ’s Java library to publish and consume messages. You will understand exchanges and queues and how to use different message patterns.

2023-03-13

fan-out-exchanges-and-pubsub-slides

Jakarta EE 10 Messaging with RabbitMQ by Kevin Jones RabbitMQ is a cross-platform, cross-language ‘message broker.' This course will teach you how to use RabbitMQ’s Java library to publish and consume messages. You will understand exchanges and queues and how to use different message patterns.

2023-03-13

direct-messages-slides

Jakarta EE 10 Messaging with RabbitMQ by Kevin Jones RabbitMQ is a cross-platform, cross-language ‘message broker.' This course will teach you how to use RabbitMQ’s Java library to publish and consume messages. You will understand exchanges and queues and how to use different message patterns.

2023-03-11

introduction-to-rabbitmq

Jakarta EE 10 Messaging with RabbitMQ by Kevin Jones RabbitMQ is a cross-platform, cross-language ‘message broker.' This course will teach you how to use RabbitMQ’s Java library to publish and consume messages. You will understand exchanges and queues and how to use different message patterns.

2023-03-11

introduction-to-messaging-slides

Jakarta EE 10 Messaging with RabbitMQ by Kevin Jones RabbitMQ is a cross-platform, cross-language ‘message broker.' This course will teach you how to use RabbitMQ’s Java library to publish and consume messages. You will understand exchanges and queues and how to use different message patterns.

2023-03-10

MongoDB for SQL Pros

M100: MongoDB for SQL Pros https://university.mongodb.com/mercur

2022-07-04

Mongo Db Course - M001 MongoDB Basics

Mongo Db Course - M001 MongoDB Basics https://university.mongodb.com/courses/M001/2022_May_10/completion

2022-06-19

M001: MongoDB Basics

M001: MongoDB Basics https://university.mongodb.com/courses/M001/2022_May_10/completion

2022-06-19

东北财经大学+计量经济学+国家精品课程课件.rar

东北财经大学+计量经济学+国家精品课程课件

2021-11-27

考研_数学_英语指导_18723881273981723.7z

考研_数学_英语指导

2021-07-01

金融_经济_管理_wueriweurieu.7z

金融_经济_管理

2021-07-01

tech_算法_数据结构_.net_zookeeper_python.7z

算法_数据结构_.net_zookeeper_python

2021-07-01

skill_提高工作效率&增强理解力.7z

skill_提高工作效率&增强理解力

2021-07-01

love_科学研究报告_928498287382873iusyisuhfksjhskjhsjk.7z

love_科学研究报告

2021-07-01

EQ_心理健康_大杂烩_762wiuerwiehkwhekweu83648237423472347898.7z

EQ & mental health

2021-07-01

同济大学《线性代数》(第五版)教材电子版——笔记——第一章.apkg

笔记

2021-01-13

同济大学《线性代数》(第五版)教材电子版-笔记——第一章.xmind

笔记

2021-01-13

同济大学《线性代数》(第五版)教材电子版-笔记—第一章节.html

笔记

2021-01-13

Linux发行版.xmind

xmind文档 linux不同版本简单总结 xmind文档 linux不同版本简单总结

2019-08-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除