Redivivus,
Well, you would have to declare your constructor as internal, private,
or protected. Then, you can call the base constructor, passing along the
DataRowBuilder, if you have one available to you.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Redivivus" <me***********@deltmar.eewrote in message
news:Ow**************@TK2MSFTNGP04.phx.gbl...
Ok, but how can i inherit then from datarow?
Mex
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote
in message news:eX**************@TK2MSFTNGP02.phx.gbl...
>Mex,
You are trying to call a constructor which is marked internal. Since
your code doesn't reside in the System.Data.dll assembly, the constructor
isn't available to you.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Redivivus" <me***********@deltmar.eewrote in message
news:%2***************@TK2MSFTNGP06.phx.gbl...
>>Hi
How to inherit from System.Data.DataRow?
class ItemRow: DataRow
{
public ItemRow(DataRowBuilder rb):base(rb){}
}
Whats wrong with this code?
Best Regards;
Mex