且构网

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

我们如何向DataSet添加新列并输入数据

更新时间:2023-12-01 17:42:04

这是良好的综合指南 [ ^ ]



我希望有所帮助。

Hi,
I have DataSet with two tables(A and B) in it. I wants to add a new column (Type: DateTime) to one data table, A, and load the value from other data table, B, (from a column which has DateTime type). Also i wants to change the format of DateTime before adding to A, ie, if B has a format mm/dd/yyyy hh:mi:ss then in A it should be dd/mm/yyyy hh:mi:ss (just an example). What is the simplest way to do this.

Here is a good comprehensive guide[^]

I hope that helps.