-
ado查询
CString result,strsql,strcol,strColName,strtemp;
_variant_t va,partment;
CAdoDB db(TEXT("student"));
strsql.Format("%s",B.strsql);
db.ExecuteSQLSelect(strsql);
int k=0,q=0;
if(db.ResultExist())
{
int totalnum=db.GetRecCount();
strtemp.Format("%d",totalnum);
long nItemCount =db.m_pRecordset->GetFields()->GetCount();
db.m_pRecordset->MoveFirst();
if(totalnumadoEOF)
{
for(long i=0;iGetFields()->GetItem(i)->GetName());
strcpy(B.AllInfo[i],db.GetRecordResult(strColName));
}
B.OperState=totalnum;//总个数
Send(&B,sizeof(B));
db.m_pRecordset->MoveNext();
}
}
else
{
while(q
- 2022-06-20 20:45:23下载
- 积分:1
-
ipdatatcpudp
用MFC实现的一个网络抓包程序,可以分析TCP、UDP、ICMP协议数据,同时有流量统计的功能,可供大家参考(Implemented by a network packet capture MFC program that can analyze TCP, UDP, ICMP protocol data, traffic statistics function simultaneously, for your reference)
- 2011-01-14 17:55:09下载
- 积分:1
-
zuiyouerfenjiansuozhu
最优二叉搜索树问题具有最优子结构性质,即其任意一棵子树都是一棵独立的最优二叉搜索树,所以可以采用动态规划方法,并且在每次更新时保存子树的根。(Optimal binary search tree problem has optimal substructure property that any of its sub-tree are an independent optimal binary search tree, so you can use dynamic programming methods, and save each update subtree roots.)
- 2013-10-10 18:48:17下载
- 积分:1
-
Library3
图书馆 简单功能 简单代码 c++实现 作业要求(Simple function of a simple code library c++ to achieve operational requirements)
- 2011-11-24 16:55:50下载
- 积分:1
-
AD9854
stm32控制as9854正交波形,仅供参考,自己琢磨。(stm32 control as9854 orthogonal waveforms, for reference, on her own.)
- 2014-04-17 20:07:26下载
- 积分:1
-
controlbar
一个支持各种交叉等形状工业控制管道控件的实现
(One supports a variety of shapes, such as industrial control cross-pipe controls to achieve)
- 2008-02-27 15:59:18下载
- 积分:1
-
Java基础练习
只需理解一些基本的概念,就可以编写出适合各种情况的
应用程序使应用程序能够并行执行,而
且同步机制保证了对共享数据的
正确操作Java是多种开发职业的底层语言,编程界的数理化
- 2022-04-28 06:35:49下载
- 积分:1
-
sw2De
SolidWorks 二次开发难得论文 和一些范例(SolidWorks secondary development papers and some rare examples of)
- 2008-01-13 15:47:43下载
- 积分:1
-
mjpg-streamer-smart210-broadon-src1
mjpg-streamer的smart210的移植版本(Detailed description in Chinese)
- 2018-03-25 21:30:05下载
- 积分:1
-
P_salve.c
说明: 电容感应按键,(TWO KEY)检测程序,串口通信和CRC校验。(Capacitive sensing buttons, (TWO KEY) testing procedures, serial communications, and CRC check.)
- 2011-04-15 23:02:20下载
- 积分:1