如何以表格形式显示网格数据 [英] how to display grid data in form
本文介绍了如何以表格形式显示网格数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有拥有datagrid的主要形式.我在运行时使用数据集的数据表将数据绑定到该数据.
现在,双击datarow,我想在另一种形式的不同文本框中显示所有列.
例子.
我有一些标签ilke学生,职员,科目,并在相应标签上单击
datagridview更改.
所以我要编辑该行,然后双击datagrid行或单击编辑"按钮,然后该行数据应以表格形式进行编辑
任何人都可以帮忙.
I have main form in which having datagrid. to which i bind data at runtime using datatable of dataset.
now on double click of datarow i want to show all columns in different textbox of another form.
example.
i have some labels ilke student,staffs,subjects and on respective label click the
the datagridview changes.
so i want to edit the row then i double click on datagrid row or click on edit button then that row data should come in form to edit
can anybody help please.
推荐答案
这是codeproject
的链接
看看
如何在使用数据网格视图的表单 [
This is the link from codeproject
Have a look
how to display data in text boxes of form using data grid view[^]
this will guide you.
这篇关于如何以表格形式显示网格数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文