开发者

What is the use of ColumnMappings if I'm obliged to use the same name as the physical column?

In my last question, Is there a bug in .NET ColumnMappings class?

it seems that I cannot use a colummapp开发者_JAVA百科ing with a different name than the physical name, then what is the use of columnmappings ?


The DataTableMapping and DataColumnMapping's define the mapping that the framework uses when filling your dataset with data from the data source. They are meant to be be set before you fill your dataset, and therefore your code in the previous question does not work.

Have a look at this DataTableMapping example on MSDN

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜