G
Guest
I am using C# 2.0 (Visual Studio 2005 Beta)
I create a xsd by drag-drop a SQL table into a Dataset designer, which is in
turn compled by the MSDataSetGenerator to create a strong typed dataset
object. (The "usual" way, nothing special). It has created a few classes,
lets say
- MyDataSet
- MyDataSet.MyDataSetDataTable
- MyDataSet.MyDataSetDataRow
......
I then try to create a subclass by inherit from MyDataSet.MyDataSetDataRow:
public class myrow : MyDataSet.MyDataSetDataRow
{
}
The compiler complains"
The type 'MyDataSet.MyDataSetDataRow' has no constructor defined.
What's wrong?
I create a xsd by drag-drop a SQL table into a Dataset designer, which is in
turn compled by the MSDataSetGenerator to create a strong typed dataset
object. (The "usual" way, nothing special). It has created a few classes,
lets say
- MyDataSet
- MyDataSet.MyDataSetDataTable
- MyDataSet.MyDataSetDataRow
......
I then try to create a subclass by inherit from MyDataSet.MyDataSetDataRow:
public class myrow : MyDataSet.MyDataSetDataRow
{
}
The compiler complains"
The type 'MyDataSet.MyDataSetDataRow' has no constructor defined.
What's wrong?