Savin数据到数据集! (将diplayn数据放入数据网格视图而不将它们放入数据库中) [英] Savin data to a dataset! (diplayn data into a datagrid view without savin them into a database)
本文介绍了Savin数据到数据集! (将diplayn数据放入数据网格视图而不将它们放入数据库中)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个案例,通过点击按钮,我必须将textboxex(组合)中的数据保存到数据集中,并将它们显示为网格!
我声明了一个dtaset,一个表也可以用来表示很多错误。任何人都可以帮助我吗?
解决方案
嘿那里,
我想你想要创建一个DataTable TextBoxes数据并将其绑定到数据网格。
这里检查这个以便随时创建DataTable行和列。
http://www.dotnetperls.com/datatable [ ^ ]
希望它有所帮助。
祝你好运。
Azee ......
始终附带代码
使用带有添加,编辑和删除功能的数据表绑定Gridview [ ^ ]
I have a case, where by clicking a button I have to save data from textboxex(combo) into a dataset and display them into a grid!
I declare a dtaset, a table also but then to many errors. Can anyone help me?
解决方案
Hey there,
I think you want to create a DataTable from TextBoxes data and bind it to the datagrid.
Here check this to create DataTable Rows and Columns on the go.
http://www.dotnetperls.com/datatable[^]
Hope it helps.
Good luck.
Azee...
Always come with code
Bind Gridview using Datatable with Add,Edit and Delete Functionality[^]
这篇关于Savin数据到数据集! (将diplayn数据放入数据网格视图而不将它们放入数据库中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文