开发者

when i moved from FW3.5 to FW2.0 i got error

开发者 https://www.devze.com 2022-12-22 17:46 出处:网络
i have buield my project on VS2008 under FrameWork 3.5 now i need to move to FrameWork 2.0 when i done this, i got this error:

i have buield my project on VS2008 under FrameWork 3.5

now i need to move to FrameWork 2.0

when i done this, i got this error:

Error 1 The type or namespac开发者_C百科e name 'TypedTableBase' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) C:\Documents and Settings\xxx\Desktop\demo2005\demo\MyDB.Designer.cs 391 68 demo

in this line:

 public partial class DO1TblDataTable : global::System.Data.TypedTableBase<DO1TblRow> {

i think that it something with the crystal-report

thank's in advance


The Typed Dataset generator was changed in .Net 3.5 to inherit the table classes from TypedTableBase<TRow>. (This adds LINQ support by implementing IEnumerable<T>)

You need to right-click the typed dataset and click Run Custom Tool to regenerate it using the .Net 2.0 code generator.

0

精彩评论

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

关注公众号