摘要:
1.选择某一列 dtTables.AsEnumerable().Where(t => t.Field<bool>("CHECK") == true).Select(t => t.Field<string>("TBID")).ToList(); 2.插入一行数据, “该行已属于另一个表” 错误 用 i 阅读全文
摘要:
1.gridview 编辑数据后,需closeEditor后,数据才能绑定到数据源(datasource) gv.CloseEditor(); gv.UpdateCurrentRow(); 2.gridControl 数据源的异步绑定 if (gc.InvokeRequired) { gc.Invo 阅读全文
摘要:
using System; using System.IO; using System.Security.Cryptography; using System.Text; public class CCryptoHandle { //=============================== 构造函数 ===============================... 阅读全文
摘要:
using System; using System.Data; using System.Configuration; using System.Web; using System.Xml; using System.Xml.Serialization; using System.IO; using System.Collections.Generic; using System.Text; ... 阅读全文
摘要:
参考 https://www.rabbitmq.com/tutorials/amqp-concepts.html 几个重要的概念: 虚拟机(Virtual host):就像一个iis上挂多个服务一样,一个mq服务器也能提供多个相对独立的应用环境,用虚拟机的概念来区分,虚拟机下有不同的用户,交换机,队 阅读全文
摘要:
一、 SQL server 方法1. 方法2: 方法3: 说明,页大小:每页的行数;页数:第几页。使用时,请把“页大小”和“页大小*(页数-1)”替换成数字。 通过SQL 查询分析器,显示比较:我的结论是: 分页方案二:(利用ID大于多少和SELECT TOP分页)效率最高,需要拼接SQL语句 分页 阅读全文
摘要:
一、绑定DataSet 1. 创建数据源 DataSet;DataSet中有两张表,并且主表与子表必须建立关联; 2. ui 设置 gridControl 控件; gridControl中已有一默认的Gridview1 为MainView 用来显示dtMaster的数据; gridControl 添 阅读全文
摘要:
1.下载 rabbitMQ :http://www.rabbitmq.com/download.html 2.安装rabbitmq需要erlang,下载erlang:http://www.erlang.org/download.html 3.安装完rabbitMQ后,进开始菜单,进入命令行界面,启动 阅读全文
摘要:
0、首先,从Oracle网站上下载对应版本的Oracle instant client包,网址在这里 http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html 由于是Windows程序,只 阅读全文
摘要:
来源: http://www.cnblogs.com/duanweishi/p/5818991.html Redis是一个非常NB的内存级的数据库,我们可以把很多”热数据“(即读写非常多的数据)放入其中来操作,这样就减少了和关系型数据库(如SqlServer/My Sql等)之间的交互,程序的响应速 阅读全文