01 2018 档案
摘要:添加引用 using System.Data; 创建表 //创建一个空表 DataTable dt = new DataTable(); //创建一个名为"Table_New"的空表 DataTable dt = new DataTable("Table_New"); 创建列 //1.创建空列 Da
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.SqlClient; using System.Con
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlClient; using System.Data; using System.Con
阅读全文
摘要:using System; using System.Collections.Generic; using System.Text; using System.Data.SqlClient; using System.Data; using DC.BE.Entity; namespace DC.BE
阅读全文
摘要:长轮询:客户端向服务器发送Ajax请求,服务器接到请求后hold住连接,直到有新消息才返回响应信息并关闭连接,客户端处理完响应信息后再向服务器发送新的请求。 优点:在无消息的情况下不会频繁的请求。 缺点:服务器hold连接会消耗资源。 if not exists(select 1 from sys.
阅读全文