Hello,
Ive managed to manually create datatables (with added functionality). Now I can create my own datasets (with my datatables) and use this as a component on a winform. But VS.NET does some weird things. He keeps adding the relations from the dataset in the Designer generated code block. Then he complaints : A Relation named FKProjectTables already belongs to this DataSet.
My Dataset looks like this :
public sub ds
inherits dataset
public a as datatable
public b as datatable
public sub new()
public FKProjectTables as DataRelation
mybase.new()
a = new datatable
b = new datatable
FKProjectTables = New DataRelation( ...)
End Sub
Greetings,
Krijn
Ive managed to manually create datatables (with added functionality). Now I can create my own datasets (with my datatables) and use this as a component on a winform. But VS.NET does some weird things. He keeps adding the relations from the dataset in the Designer generated code block. Then he complaints : A Relation named FKProjectTables already belongs to this DataSet.
My Dataset looks like this :
public sub ds
inherits dataset
public a as datatable
public b as datatable
public sub new()
public FKProjectTables as DataRelation
mybase.new()
a = new datatable
b = new datatable
FKProjectTables = New DataRelation( ...)
End Sub
Greetings,
Krijn