Is there any discussion on the availability of generic classes for ADO.NET
classes to create strongly typed versions? We were able to create typed
datasets easily but it was not easy to create a typed datatable "that could
give a typed DataView" since DataView is what is mostly used for
databinding.

Re: generic ADO.NET classes? by Miha

Miha
Mon Jul 26 12:28:15 CDT 2004

Hi Sankar,

Hm, there is no big need for typed dataviews IMO.
You might access the DataRow directly through DataView.Row property and cast
it to strong typed row.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"Sankar Nemani" <snemani@nospamlumedx.com> wrote in message
news:OzfzMLzcEHA.2140@TK2MSFTNGP09.phx.gbl...
> Is there any discussion on the availability of generic classes for ADO.NET
> classes to create strongly typed versions? We were able to create typed
> datasets easily but it was not easy to create a typed datatable "that
could
> give a typed DataView" since DataView is what is mostly used for
> databinding.
>
>



Re: generic ADO.NET classes? by Sankar

Sankar
Mon Jul 26 13:03:51 CDT 2004

But are there any "generic" classes for the common ADO.NET classes for
instance a datatable

"Miha Markic [MVP C#]" <miha at rthand com> wrote in message
news:evutwXzcEHA.1248@TK2MSFTNGP11.phx.gbl...
> Hi Sankar,
>
> Hm, there is no big need for typed dataviews IMO.
> You might access the DataRow directly through DataView.Row property and
cast
> it to strong typed row.
>
> --
> Miha Markic [MVP C#] - RightHand .NET consulting & development
> miha at rthand com
> www.rthand.com
>
> "Sankar Nemani" <snemani@nospamlumedx.com> wrote in message
> news:OzfzMLzcEHA.2140@TK2MSFTNGP09.phx.gbl...
> > Is there any discussion on the availability of generic classes for
ADO.NET
> > classes to create strongly typed versions? We were able to create typed
> > datasets easily but it was not easy to create a typed datatable "that
> could
> > give a typed DataView" since DataView is what is mostly used for
> > databinding.
> >
> >
>
>



Re: generic ADO.NET classes? by v-kevy

v-kevy
Mon Jul 26 23:06:44 CDT 2004

Hi Sankar,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to find some generic classes
for common ADO.NET classes for instance a datatable. If there is any
misunderstanding, please feel free to let me know.

As far as I know, there isn't such classes that create typed DataTable or
typed DataViews. Just as Miha mentioned, there is no need for typed
dataviews. You might access the DataRow directly through DataView.Row
property and cast it to strong typed row.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."