-
C# 显示选择的DataGridView单元格行数据
C# 显示选择的DataGridView单元格行数据附实现源码,连接数据库后,单击上部的“显示选择的单元格行”功能,即可显示出该行数据,具体的实现代码如下:
private void toolStripButton1_Click(object sender, EventArgs e)
{//显示选择的单元格行(获取DataGridView控件中选定的单元格行)
Int32 MyCount =customersDataGridView.Rows.GetRowCount(DataGridViewElementStates.Selected);
if (MyCount > 0)
{
System.Text.StringBuilder MyInfo = new System.Text.StringBuilder();
for (int i = 0; i < MyCount; i++)
{
MyInfo.Append("被选择的行号是: ");
MyInfo.Append(customersDataGridView.SelectedRows[i].Index.ToString());
MyInfo.Append(Environment.NewLine);
}
MyInfo.Append("一共选择了: " + MyCount.ToString()+"行。");
MessageBox.Show(MyInfo.ToString(), "信息提示",MessageBoxButtons.OK);
}
}
- 2022-12-31 00:55:04下载
- 积分:1
-
Cepstrum
这是语音信号处理中求倒谱的程序,我自己编的,很简单,实现了一段序列求倒谱的功能(This is the voice signal processing for cepstrum procedures, I developed, is very simple. achieve a sequence for the functional cepstrum)
- 2006-10-11 20:12:24下载
- 积分:1
-
gsm模块的例程
关于gsm模块基于stm32等的例程,基本指令,中英文短信接收,发送,GPRS数据传输等。gsm是SIM800A.我用的开发板是stm32f103
- 2022-02-04 11:57:03下载
- 积分:1
-
RS485通讯程序
STM32,RS485收发程序,端口初始化,时钟、GPIO等初始化,以及中断配置,中断入口函数编写等
- 2022-06-01 18:59:10下载
- 积分:1
-
uCOS_uCGUI_FSMC_2.8
uCOS+uCGUI-FSMC-2.8寸屏移植到STM32,在红牛板上演示成功。MDK编译工程(uCOS+ uCGUI-FSMC-2.8-inch screen transplanted to STM32, a successful demonstration in the Red Bull board. MDK compiler works)
- 2009-09-30 16:25:45下载
- 积分:1
-
promram
说明: 此程序是用MATLAB编写的时域解,相关的LMS自适应算法程序,(This program is written in MATLAB time domain solution, the related LMS adaptive algorithm program,)
- 2019-04-18 18:44:17下载
- 积分:1
-
MATLAB-MingLingDaQuan
姚东等编著的Matlab命令大全,适合初学者使用。(YAO Dong-ed, such as the Matlab command Daquan, suitable for beginners to use.)
- 2009-03-09 16:12:26下载
- 积分:1
-
用RTP协议传输多媒体视频数据范例
RTP_video_audio
用RTP协议传输多媒体视频数据范例,包括详细说明文档、ppt教程、服务器和客户端源程序。(with RTP video transmission of multimedia data model, including detailed documentation, ppt Directory, the server and client source.)
- 2020-06-26 08:20:02下载
- 积分:1
-
Here is how to use C# to scan through files recursively in a computer and add th...
Here is how to use C# to scan through files recursively in a computer and add them to a TreeView control. The result will be a C# treeview with folders and files. There are two main functions to accomplish the task. One for scanning directions. The other for creating nodes and child nodes in the TreeView. Both are easily done with recursive C# functions-Here is how to use C# to scan through files recursively in a computer and add them to a TreeView control. The result will be a C# treeview with folders and files. There are two main functions to accomplish the task. One for scanning directions. The other for creating nodes and child nodes in the TreeView. Both are easily done with recursive C# functions..
- 2023-03-11 19:10:04下载
- 积分:1
-
VxWorks调试手段和方法总结
说明: VxWorks调试技术详细教程,不要错过哦。(VxWorks Debugging Technology Detailed Tutorial.)
- 2019-01-13 17:42:31下载
- 积分:1