I think its constructor is defined as "protected internal" which means
external assembly cannot access it.

On Sat, Mar 6, 2010 at 2:00 AM, crazy <[email protected]> wrote:

> hi All,
>
> DataTable oDT=new DataTable();
>
> DataRowoDR=null;
>
> Case 1:
> oDR=new DataRow() ;
>
> Case 2:
> oDR=new oDT.DataRow();
>
>
> why Case 1 showing error?
> .Net doesnt allowing to create a object to that DataRow() class.But it
> allowing DataTable to create a object to DataRow().
> If so , what type of class is DataRow()?
>
> One scenario is there, if DataRow() class contains only private Constructor
> s and it contains a public static method which will create a new row . But
> in Datarow ,using Wincv I have checked available public methods , but i cant
> able to find such a public static method in DataRow().
>
> Then  what type of architecture using  in DataRow() ?
>
>
>
>
> --
> "People who never make mistakes, never do anything."
>
> dEv
>

Reply via email to