-
File-Manager
通过MFC socket编程实现远程查看硬盘及文件夹和文件的功能(MFC socket programming function to remotely view the hard drive and the folders and files)
- 2021-04-01 14:49:09下载
- 积分:1
-
C# 通过SqlReader HasRows判断指定表中是否有数据
本例主要是判断指定的数据库数据表中是否有数据,这里使用了通过判断HasRows的返回值来判断,若返回值为真,则有数据,反之则无数据,最后用MessageBox.Show显示判断结果,完整的过程:
//实例化SqlConnection变量conn
SqlConnection conn = new SqlConnection("server=.;database=db_14;uid=sa;pwd=");
conn.Open();//打开连接
//创建一个SqlCommand对象
SqlCommand cmd = new SqlCommand("select * from " + textBox1.Text.Trim(), conn);
//使用ExecuteReade方法创建SqlDataReader对象
SqlDataReader sdr = cmd.ExecuteReader();
sdr.Read();//调用Read方法读取SqlDataReade
if (sdr.HasRows)//使用HasRows属性判断结果中是否有数据
{
MessageBox.Show("数据表中有值");//弹出提示信息
}
else
{
MessageBox.Show("数据表中没有任何数据");
}
- 2022-02-07 01:03:03下载
- 积分:1
-
四参数随机生长法生成多孔介质代码
利用四参数随机生成法生成三维多孔介质,以研究黏土、页岩等的微观流动机制(Using QSGS to construct 3D porous media)
- 2021-03-29 17:29:10下载
- 积分:1
-
inverter3l
说明: 做了三电平并网逆变器的仿真,添加了不控整流制造谐波,(The simulation of three level grid connected inverters is made, harmonics are added with uncontrolled rectifier, and the influence of harmonics is observed.)
- 2018-03-23 17:11:53下载
- 积分:1
-
遮阳 de imagene en java netbeans
科摩 eltipico 遮阳 de windows es 联合国方案调查 en c + + 中段双 visualizar imagenes
- 2022-03-20 09:25:27下载
- 积分:1
-
40172874
一个指纹识别的程序 很不错哦!喜欢的话就下载下来
(A fingerprint identification procedure very nice oh! Like what is going on the downloaded)
- 2009-11-01 17:49:50下载
- 积分:1
-
HandNumIdenByModelReconition
一种用于手写字体识别(模糊识别)实现的源代码。隶属于模式识别领域(A handwritten font identification (fuzzy recognition) the source code. Attached to the field of pattern recognition)
- 2006-11-20 15:22:56下载
- 积分:1
-
13-03-23
基于at89c51单片机的超声波测距,红外测距。lcd显示。(At89c51 microcontroller based ultrasonic ranging, infrared distance. lcd display.)
- 2013-12-07 11:51:44下载
- 积分:1
-
Type-2模糊吴
该文件是关于二型模糊逻辑控制器使用M文件的生成
- 2022-01-26 05:48:31下载
- 积分:1
-
WindowsApplication1
学生信息管理系统。C#开发,满足学生信息,课程信息,成绩查询.代码清晰,功能完善.(Student Information Management System. C# development, to meet the student information, course information, query results. Code clear and functional.)
- 2009-07-08 12:44:08下载
- 积分:1