摘要:
DataSet用法详细 一、特点介绍 1、处理脱机数据,在多层应用程序中很有用。 2、可以在任何时候查看DataSet中任意行的内容,允许修改查询结果的方法。 3、处理分级数据 4、缓存更改 5、XML的完整性:DataSet对象和XML文档几乎是可互换的。 二、使用介绍 1、创建DataSet对象
阅读全文
posted @ 2018-01-08 09:40
口袋里的SKY
阅读(496)
推荐(0)
摘要:
浅谈DataSet 的用法 DataSet 是ADO.NET开发人员为方便数据处理开发出来的,是数据的集合,是为解决DataReader的缺陷设计的,DataReader数据处理速度快,但 它是只读的,而且一旦移到下一行,就不能查看上一行的数据,DataSet则可以自由移动指针。DataSet的数据
阅读全文
posted @ 2018-01-08 09:39
口袋里的SKY
阅读(285)
推荐(0)
摘要:
http://www.ruanyifeng.com/blog/
阅读全文
posted @ 2017-12-29 10:05
口袋里的SKY
阅读(82)
推荐(0)
摘要:
using Microsoft.Reporting.WebForms; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using S...
阅读全文
posted @ 2017-12-06 16:17
口袋里的SKY
阅读(851)
推荐(0)
摘要:
using AIMS.Bussiness.ApplicationDto.Dto; using AIMS.Bussiness.ApplicationDto.NJWorkTasksDto; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threadi...
阅读全文
posted @ 2017-11-30 17:26
口袋里的SKY
阅读(321)
推荐(0)
摘要:
1、左连接: var LeftJoin = from emp in ListOfEmployees join dept in ListOfDepartment on emp.DeptID equals dept.ID into JoinedEmpDept from dept in JoinedEmp
阅读全文
posted @ 2017-11-24 09:56
口袋里的SKY
阅读(400)
推荐(0)
摘要:
/// /// 展示终端列表(后台)(Zoe) /// /// public KeyValuePair> GetTerminalList(string SerialNum, int rows, int page) { if (string.IsNullOrWhiteSp...
阅读全文
posted @ 2017-11-22 17:20
口袋里的SKY
阅读(652)
推荐(0)
摘要:
关于数据库的查询中经常需要用到多表的连接查询,这里就简单地展示关于linq的查询功能。 1、单表的查询 [csharp] view plain copy var query = from tc in db.tbClass where tc.ClassID == "1" //查询表tbClass ...
阅读全文
posted @ 2017-11-09 09:36
口袋里的SKY
阅读(447)
推荐(0)
摘要:
关于数据库的查询中经常需要用到多表的连接查询,这里就简单地展示关于linq的查询功能。 1、单表的查询 [csharp] view plain copy var query = from tc in db.tbClass where tc.ClassID == "1" //查询表tbClass ...
阅读全文
posted @ 2017-11-09 09:35
口袋里的SKY
阅读(132)
推荐(0)
摘要:
HTTP简介 HTTP协议是Hyper Text Transfer Protocol(超文本传输协议)的缩写,是用于从万维网(WWW:World Wide Web )服务器传输超文本到本地浏览器的传送协议。 HTTP是一个基于TCP/IP通信协议来传递数据(HTML 文件, 图片文件, 查询结果等)
阅读全文
posted @ 2017-11-01 13:36
口袋里的SKY
阅读(216)
推荐(0)