GetFields()->GetCount(); db.m_pRecordset->MoveFirst();if(totalnum<10){while(!db.m_pRecordset->adoEOF){for(longi=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<10){//&n-IMDN开发者社群-imdn.cn">
GetFields()->GetCount(); db.m_pRecordset->MoveFirst();if(totalnum<10){while(!db.m_pRecordset->adoEOF){for(longi=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<10){//&n - IMDN开发者社群-imdn.cn">
于 2022-06-20 发布
文件大小:21.83 MB
0 119
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
下载说明:请别用迅雷下载,失败请重下,重下不扣分!
LPC1114UART2
LPC1114的双串口通信,软件模拟了一个串口。用了定时器,波特率为9600哈。(LPC1114 comunicación serial, el software simula un puerto serie. Con un cronómetro, la velocidad de transmisión de 9600 ha.)
2012-04-28 11:54:34下载
积分:1
Elec tronic -c loc k-routine
电子钟例程在MCS51上实现,用于proteus仿真软件(Electronic clock routine)
2013-12-13 22:49:57下载
积分:1
浏览器引擎(tkhtml)
tkhtml 2008-02-14 代码,支持 html/javascript 运行 一个极小的web engine浏览器引擎。
2021-05-06下载
积分:1
1602与TLC2543的交直流电压表
说明: 交直流电压表:1602与TLC2543的交直流电压表参赛作品。(AC and DC voltmeters: 1602 and TLC2543 AC and DC voltmeter entries.)
2020-08-09 18:54:03下载
积分:1
C# 将DataGridView中内容导出到Exc el
Visual C# 将DataGridView中内容导出到Excel,在实现部分,数据库的操作就不多说了,这个和平时是一样的,建立连接,读取数据库,然后将数据绑定显示到DataGridView中,然后再新建一导出模块,将数据导出到Excel表格中,我们建立了ExportDataGridview函数,在此函数中,建立Excel对象,生成字段名称,填充数据,填充时使用For循环,依次遍历填充。
2022-06-17 12:57:31下载
积分:1
c h28
该案例是典型的学生信息管理系统管理,里面包括该系统的文档说明和系统源码(This case is typical of the student information management system management, which includes documentation of the system and the system source code)
2013-10-25 09:28:48下载
积分:1
0.618
0.618算法,可以用VC运行出来,但没有MATLAB算法(function 0.618)
2011-09-23 17:49:51下载
积分:1
I2C
I2C的实现,可以扩展进而控制有关I2C的器件达到操作员的控制目的。(I2C implementations, can be extended further having control of the I2C device operator control purposes.)
2015-06-06 21:21:05下载
积分:1
Sourc e
文档管理小程序,实现了文件的增加删除和修改等功能(Document management applet, realizes the functions of adding, deleting and modifying files.)
2020-06-21 03:40:02下载
积分:1
发动机万有特性曲线
针对发动机万有特性曲线的绘制所写,对毕业设计和论文发表的画图有帮助。
2022-06-26 16:01:11下载
积分:1