如何在C#中的dataTable中添加列 [英] How to add column in dataTable in C#

查看:639
本文介绍了如何在C#中的dataTable中添加列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





如何删除此错误。



无法添加嵌套关系或包含SimpleContent列的表的元素列。

Hi,

How to remove this error.

"Cannot add a nested relation or an element column to a table containing a SimpleContent column."

推荐答案

当您收到无法理解的错误消息时,首先要做的是将其提供给谷歌:

Google无法将嵌套关系或元素列添加到包含SimpleContent列的表 [ ^ ]因为很有可能你不是;首先要解决这个问题。



在这种情况下,有1,500次点击 - 所以开始阅读,看看它们是否适合你的情况。



将来,请尝试自己做至少基础研究,节省您的时间和我们的时间吗?
When you get an error message you can't understand, the first thing to do is feed it to google:
Google "Cannot add a nested relation or an element column to a table containing a SimpleContent column"[^] because there is a good chance you aren;t the first to meet the problem.

In this case, there are 1,500 hits on that - so start reading and see if any of them fits your circumstances.

In future, please try to do at least basic research yourself, and save your time and ours?


这篇关于如何在C#中的dataTable中添加列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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