|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Cannot create DataRelation 2005I have some code in a VB.NET 2003 assembly that creates two DataTables and a
DataRelation between them. Neither table is specifically added to a DataSet. This runs fine in other VB.NET 2003 projects. When I add this assembly to a VB.NET 2005 project, it dies when this code is executed, complaining that neither column is in a DataSet. Did something change with respect to DataRelations in .NET Framework 2.0? Why isn't the VB.NET 2003 assembly executing using .NET Framework 1.1? Thanks, Richard MoWhite,
Can it be that you forgot to show the relation code to us? I am not aware from any changes. Cor Show quote "moWhite" <moWh***@discussions.microsoft.com> schreef in bericht news:3CD32F08-D0AB-4BD7-8D7D-FC08A3B542DB@microsoft.com... >I have some code in a VB.NET 2003 assembly that creates two DataTables and >a > DataRelation between them. Neither table is specifically added to a > DataSet. > This runs fine in other VB.NET 2003 projects. > > When I add this assembly to a VB.NET 2005 project, it dies when this code > is > executed, complaining that neither column is in a DataSet. > > Did something change with respect to DataRelations in .NET Framework 2.0? > Why isn't the VB.NET 2003 assembly executing using .NET Framework 1.1? > > Thanks, Richard > What exception is it throwing? Is there a possible difference in data?
Show quote "moWhite" <moWh***@discussions.microsoft.com> wrote in message news:3CD32F08-D0AB-4BD7-8D7D-FC08A3B542DB@microsoft.com... >I have some code in a VB.NET 2003 assembly that creates two DataTables and >a > DataRelation between them. Neither table is specifically added to a > DataSet. > This runs fine in other VB.NET 2003 projects. > > When I add this assembly to a VB.NET 2005 project, it dies when this code > is > executed, complaining that neither column is in a DataSet. > > Did something change with respect to DataRelations in .NET Framework 2.0? > Why isn't the VB.NET 2003 assembly executing using .NET Framework 1.1? > > Thanks, Richard > |
|||||||||||||||||||||||