且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将记录添加到数据表

更新时间:2023-11-30 22:45:28

您是否在谈论数据库中的数据表.在按钮单击事件上,编写一些代码以从文本框中收集值,然后使用ado.net将其插入到表中.
Are you talking about a data table in database. On the button click event, write some code to collect the values from your textboxes and insert the value to your table using ado.net.


看一下其中包含许多内容的代码.与DataTable相关的内容... DataTable-添加,修改,删除,过滤,对行进行排序和添加从Xml/向Xml读/写 [ ^ ]
Hi, Take a look at this one it contains many things related to DataTable... DataTable - Adding, Modifying, Deleting, Filtering, Sorting rows & Reading/Writing from/to Xml[^]