-
COMTestCode
vc环境下COM组件编程小例子,一个文件生成COM组件,另一个文件调用该COM组件。(COM component programming small example, a file generated COM component vc environment, another file to call the COM component.)
- 2013-12-19 16:21:03下载
- 积分:1
-
YYLXHcitPos
Good ERP System which I like mostly
- 2015-10-04 00:59:31下载
- 积分:1
-
heapSort.cpp.tar
这是一个堆排序的算法源程序,算法被单独写成一个函数,希望对大家有用(This is a heap sort algorithm source code, algorithms are written as a separate function, we hope to be useful)
- 2013-12-12 14:52:48下载
- 积分:1
-
PHD15A4100-01
一段简单的幻影灯控制程序,新人可以拿来泡妹纸。(A simple piece of phantom lights control procedures can be used to soak the new sister paper.)
- 2016-05-12 09:05:07下载
- 积分:1
-
ssp-ota5182
说明: hi3519v101 ota5182 驱动(hi3519v101 ota5182 driver)
- 2020-06-19 22:20:02下载
- 积分:1
-
MexDemo
使用vc6.0与matlab 2010b联合编程,并且测试通过 接口函数的编写(vc6.0 matlab 联合编程)
- 2012-05-06 20:15:30下载
- 积分:1
-
gyro_invensense
hi3519v101 icm_20628 driver
- 2020-06-19 21:40:02下载
- 积分: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
-
hafuman
使用哈弗曼算法,对文件进行压缩然后再进行解压。(Use the Huffman algorithm to compress the file and then decompress.)
- 2014-05-07 15:42:15下载
- 积分:1
-
wenlizuobiao
说明: 一个纹理坐标自动生成的例子,有助于理解纹理坐标自动生成的各个函数(An example of automatically generated texture coordinates, texture coordinates generated automatically help you understand the various functions)
- 2011-03-27 19:48:06下载
- 积分:1