开发者

pass datatable to the mvc view

I was reading: asp.net m开发者_运维百科vc datatable

But I have give a compilation error:

CS0246: The type or namespace name 'DataTable' could not be found (are you missing a using directive or an assembly reference?)

How do I fix this?


add a reference at the top of the class.

using System.Data;
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜