-
如何配置事件日志
如何配置事件日志-how to configure the event log
- 2022-08-10 08:39:27下载
- 积分:1
-
pic16f877a读取压力传感器HX711芯片程序
pic16f877a读取hx711压力传感器芯片的程序。通过串口助手显示,已经编译通过
- 2022-09-05 05:25:02下载
- 积分: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
-
数字大小写转换--示例源码下载.zip
数字大小写转换--示例源码下载.zip
- 2019-08-08下载
- 积分:1
-
C program for Fibonacci series
C语言这个C程序介绍了斐波那契数列的程序以有效的方式。这说明概念背后的斐波那契数列和技巧来简化使其容易。
- 2022-02-05 05:19:20下载
- 积分:1
-
本教程以手把手的方式,通过简单实例入手,层层深入,对C#语言进行了详细而全面地讲解。本教程面向的对象为:1、看过一些初级C#教程,对基本语法,三大结构理解没有困...
本教程以手把手的方式,通过简单实例入手,层层深入,对C#语言进行了详细而全面地讲解。本教程面向的对象为:1、看过一些初级C#教程,对基本语法,三大结构理解没有困难的人员。2、学习过其它语言,想转入到C#进行学习的人员。-The Guide to hands-on approach, starting with a simple example, layers of depth on the C# Language in detail and comprehensively explain. The object-oriented tutorial for: 1, read some of the primary C# Tutorial on basic grammar, the three have no difficulty in understanding the structure of personnel. 2, learning other languages, I would like to shift to the C# Learning personnel.
- 2022-03-03 20:45:04下载
- 积分:1
-
Adaboost算法源码
Adaboost训练算法,主要是依据Friedman的1996年的论文实现,可以结合harr特征用来训练人脸检测的检测器,具体原理可参考论文或《统计学习方法》。
- 2022-03-25 19:26:50下载
- 积分:1
-
casually upload a test site's credibility. If the high credibility of the ca...
随便上传一个,测试一下网站的可信度。如果可信度高的话,我将继续上传源码,,CSharp,CSharp-casually upload a test site"s credibility. If the high credibility of the case, I will continue to upload source code, CSharp, CSharp
- 2022-02-04 00:55:44下载
- 积分:1
-
通过按键中断,实现LED状态的切换
一个简单的入门程序,适合刚入门的新手。基于CC2530的裸机编程,通过外部按键触发中断,每次中断切换LED灯的开关状态。
- 2023-08-29 23:55:03下载
- 积分:1
-
VC凭条打印机驱动
(Kexinda TMU532 printer belt TK500 drive)
- 2022-07-21 21:10:25下载
- 积分:1