-
简单的OA系统,实现了很多内部流程的 功能
简单的OA系统,实现了很多内部流程的 功能-Simple OA system to achieve a number of internal processes function
- 2022-07-10 20:24:16下载
- 积分:1
-
C#读取数据库内容并在dataGridView中显示
C#从数据库中读取内容并显示在dataGridView中,这似乎是一个很实用的功能,在数据库应用的时候,我们都要通过dataGridView来显示数据,这个例子可帮助初学者很好的掌握此功能的具体实现,一些代码片段分享如下:
private void button1_Click(object sender, EventArgs e)
{
//实例化SqlConnection变量conn,连接数据库
conn = new SqlConnection("server=.;database=db_15;uid=sa;pwd=");
//实例化SqlDataAdapter对象
SqlDataAdapter sda = new SqlDataAdapter("select * from tb_emp", conn);
DataSet ds = new DataSet(); //实例化DataSet对象
sda.Fill(ds);//使用SqlDataAdapter对象的Fill方法填充DataSet
dataGridView1.DataSource = ds.Tables[0];//设置dataGridView1控件的数据源
dataGridView1.RowHeadersVisible = false;//禁止显示行标题
//使用for循环设置控件的列宽
for (int i = 0; i < dataGridView1.ColumnCount; i++)
{
dataGridView1.Columns[i].Width = 84;
}
button1.Enabled = false;//禁用按钮
dataGridView1.Columns[0].ReadOnly = true;//将控件设置为只读
}
private DataTable dbconn(string strSql)//建立一个DataTable类型的方法
{
this.adapter = new SqlDataAdapter(strSql, conn);//实例化SqlDataAdapter对
- 2022-07-24 21:44:03下载
- 积分:1
-
vts
IT IS ABOUT THE TRACKING OF VEHICLE TRACKING SYSTEM.
- 2015-02-21 14:06:01下载
- 积分:1
-
implerentsrealizessimplement
用VISUAL C++实现几个数字水印算法,实现水印的嵌入与检测,达到水印的稳健传输,(VISUAL c + + is used to implement several digital watermarking algorithm, realizes the watermark embedding and detection, to achieve the watermark robust transmission,)
- 2017-07-23 17:02:46下载
- 积分:1
-
HC-SR501
说明: 51单片机,通过人体红外热释电模块检测人数,并计数。(51 single chip computer, through the human body infrared pyroelectric module to detect the number of people, and count.)
- 2020-06-20 18:00:01下载
- 积分:1
-
SAEJ2534
Foreword
The use of reprogrammable memory technology in vehicle electronic control units (ECUs) has increased
in recent years, and is expected to continue in the future. Use of this technology has increased the
flexibility of being able to use a single ECU hardware part to be used in many different vehicle
configurations, with the only difference being the software and calibrations programmed into the unit.
Reprogramming of those ECUs in the service environment also allows for ease of field modification of
system operation and calibrations. Variations in reprogramming capability and the multiple tools
necessary to reprogram vehicles are a burden on aftermarket repair facilities that service different makes
of vehicles.
- 2010-06-24 22:18:29下载
- 积分:1
-
ATR-Trailer趋势突破EA 没马丁 没网格
说明: 外汇MT4 EA,基于ATR指标,亲测可用(Foreign exchange MT4 EA, based on ATR index, available for pro test)
- 2020-06-30 20:40:02下载
- 积分:1
-
EDanDanAssistg
蛋蛋助手,可以动态配置生成代码格式,方便ORM或或程序员的生成工作 ,经测试
(Egg assistant, can be dynamically configured to generate code format, convenient ORM, or programmer generation work, tested)
- 2012-09-10 00:33:07下载
- 积分:1
-
Lookaside
LinkList.rar
- 2008-08-29 21:49:36下载
- 积分:1
-
TestWindowsServer
Windows服务的源码,实现了Windows服务的整个过程,可直接使用(Source Windows services, Windows services to achieve the whole process, and can be used directly)
- 2013-11-28 10:01:18下载
- 积分:1