1、当有大量数据需要计算、显示在界面或者调用sleep函数时,容易导致界面卡死,可以采用多线程加委托的方法解决using
System;using System.Collections.Generic;using System.ComponentModel;using
System.Data;usi...
分类:
编程语言 时间:
2014-05-19 09:47:53
阅读次数:
340
由于本身WebMisCentral采用的是EF5.0,所以适配起来还是非常简单的,下面看操作:1.ElegantWM.WebUI层中(或者ElegantWM.DAL)通过NUGET下载MySQL.Data
6.7.52.修改Web.config如下: ...
分类:
数据库 时间:
2014-05-19 09:09:44
阅读次数:
560
本文转载自忙碌的布谷鸟如何使用Connection对象连接数据库?对于不同的.NET数据提供者,ADO.NET采用不同的Connection对象连接数据库。这些Connection对象为我们屏蔽了具体的实现细节,并提供了一种统一的实现方法。Connection类有四种:SqlConnection,O...
分类:
数据库 时间:
2014-05-19 08:47:45
阅读次数:
389
1,SEGMENT_VARIABLE(USB_bcdDevice, U16, Code) =
0x0100;code /Code segment
的作用是告诉单片机,我定义的数据要放在ROM(程序存储区)里面,写入后就不能再更改,其实是相当与汇编里面的寻址MOVC因为C语言中没办法详细描述存入的是R...
分类:
编程语言 时间:
2014-05-19 08:26:20
阅读次数:
4936
using System.Xml;using System.Xml.Linq;XmlDocument
document = new XmlDocument();document.Load("SessionDef.xml");XmlNodeList
nodelist = document.Select...
分类:
其他好文 时间:
2014-05-19 07:10:10
阅读次数:
227
本文内容来自《pointers on C》栈的接口/* Interface for a stack
module */#define STACK_TYPE intvoid push(STACK_TYPE value);void
pop(void);STACK_TYPE top(void);in...
分类:
其他好文 时间:
2014-05-18 20:37:48
阅读次数:
509
1 把李明杰的MJRfresh文件夹拖到工程中2 然后引入头文件3 在.m 文件中设置两个变量4
在viewDidLoad里调用两个方法5 实现需要调用的两个方法
分类:
移动开发 时间:
2014-05-18 20:19:32
阅读次数:
397
using DevExpress.XtraGrid;// ...string fileName
="c:\\XtraGrid_SaveLayoutToXML.xml";privatevoid Form1_Load(object sender,
System.EventArgs e) { gridCo...
分类:
其他好文 时间:
2014-05-18 20:15:22
阅读次数:
300
Form1.cs[csharp]view
plaincopyusingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem....
分类:
其他好文 时间:
2014-05-18 20:04:33
阅读次数:
362
先序遍历和中序遍历非递归代码:#include #include using
namespace std;typedef struct BinaryTree { int data; struct BinaryTree *rchild,
*lchild;}BinaryTree;int cr...
分类:
其他好文 时间:
2014-05-17 21:56:50
阅读次数:
264