PC Review


Reply
Thread Tools Rate Thread

Cast DataTable

 
 
Damian
Guest
Posts: n/a
 
      12th Feb 2005

Hi,

I have a datatable which I want to cast to my custom
collection which inherits from CollectionBase. How can I do
this.

I know that both RowsCollection and CollectionBase inherit
from IList but how can I use this to my advantage

thanks
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
explicit operator cast --> Specified cast is not valid Peter Microsoft C# .NET 1 24th Aug 2011 09:06 AM
what is the best way to make a DataTable thread safe? DataTable.AcceptChanges() will throw exception (not documented) Ryan Liu Microsoft C# .NET 3 7th Jun 2006 05:07 PM
checking for valid cast before cast is called? =?Utf-8?B?d2dpbGxpbg==?= Microsoft Dot NET Framework 1 27th Jun 2005 10:29 PM
Cast DataView as a DataTable Brian Bischof Microsoft ADO .NET 3 21st Jan 2004 02:06 PM
Cast DataView as a DataTable Brian Bischof Microsoft C# .NET 3 21st Jan 2004 02:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:34 AM.