Bindig列从数据库到数据网格视图使用csharp [英] Bindig column from the datbase to data grid view using csharp

查看:114
本文介绍了Bindig列从数据库到数据网格视图使用csharp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在数据网格视图中进行如下设计;







日期会话CMK TMS MS CNN UNNI VB GS RV GV HM MT



18.9.2012 1

18.9.2012 2

18.9.2012 3





我提到的专栏名称为CMK,TMS,MS,CNN,UNNI,VB,GS,RV,GV,HM, MT,这些名称将从数据库中检索并输入数据网格视图。





CMK TMS MS CNN UNNI VB GS RV GV HM MT



从数据库中检索上述名称并将其放入数据网格视图。





怎么办请帮帮我。

Design as follows in data grid view;



Date session CMK TMS MS CNN UNNI VB GS RV GV HM MT

18.9.2012 1
18.9.2012 2
18.9.2012 3


THE COLUMN NAME I MENTIONED AS CMK, TMS, MS, CNN, UNNI, VB, GS, RV, GV, HM, MT, these name to be retrieved from the database and put in to the data grid view.


CMK TMS MS CNN UNNI VB GS RV GV HM MT

the above name to be retrieved from the data base and put it to data grid view.


how to do please help me.

推荐答案

这已经回答了这里 [ ^ ]并再次在Windows应用程序中使用datagrid添加行 [< a href =http://www.codeproject.com/Questions/522547/addplusrowsplususingplusdatagridplusinpluswindowsp\"target =_ blanktitle =New Window> ^ ]
This is already answered here[^] and again add rows using datagrid in windows application[^]


这篇关于Bindig列从数据库到数据网格视图使用csharp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆