DatgrideV绑定到数据集表 [英] DatgrideV binding To Dataset Table

查看:108
本文介绍了DatgrideV绑定到数据集表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在应用程序中使用了数据网格,并创建了三列(TestName,Result和引用)
我想将这些datagrid列绑定到包含这些列的数据集表中(TestID,TestName,Isprintable,Refrences,患者,Patient,PatientAge等)

I am using a datagrid in my application and create three columns (TestName, Result and refrences)
and I want to bind these datagrid columns to a dataset table containing these columns (TestID, TestName, Isprintable,Refrences,Patient, PatientAge ect)
is it possible if so how?

推荐答案

您没有提到这是asp.net还是WinForms.以WinForms为例,这是一个很好的示例,说明了如何处理datagridview和datatable之间的绑定.
You didn''t mention if this is asp.net or WinForms. Taken it''s WinForms, here''s a good example how to handle binding between datagridview and datatable.


转到 ^ ]来阅读一篇出色的文章,该文章将指导您以各种方式绑定datagridview.
Go there[^] to read an excellent article which guide you all way to bind datagridview.


这篇关于DatgrideV绑定到数据集表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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