![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
软件编程 数据库
yelisen
这个作者很懒,什么都没留下…
展开
-
C#中调用存储过程,通过DataGridView显示
(转) 1. 通过文本框textbox.Text输入 实际要输入的参数值,点击Button1,执行存储过程后把检索的数据用datagridview1显示出来; private void button1_Click(object sender, EventArgs e) { //数据库连接字符串原创 2011-06-03 11:32:00 · 3257 阅读 · 0 评论 -
DataGridView隔行显示不同的颜色
================================== 方法一、DataGridView隔行显示不同的颜色 AlternatingRowsDefaultCellStyle 属性获取或设置应用于 DataGridView 的奇数行的默认单元格样式。RowsDefaultCellStyle 属性 获取或设置应用于 DataGridView 的行单元格的默认样式。只需要增加以下原创 2011-06-06 13:56:00 · 896 阅读 · 0 评论