Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inheriting DataRows...
Message
From
26/05/2007 19:03:57
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01228523
Message ID:
01228739
Views:
25
Ben,

I think we're going to need to see some code.

~~Bonnie



>I created my own SQL Database Wrapper class, where I inherited internal classes based off of all the items needed to create data down to the Table level. In other words...
>
>
>DataSetCollection (Inherits CollectionBase)
> |
>  -- ClassDataSet (Inherits DataSet)
>  |
>   -- DataTableCollection (Inherits CollectionBase)
>   |
>    -- ClassDataTable (Inherits DataTable)
>    |
>     -- RowCollection (Inherits CollectionBase)
>     |
>      -- ClassDataRow (Inherits DataRow)
>
>Now everything worked perfectly fine until I added the last two in the above tree. For some reason the FILL command works fine, no error, and it populates the ClassDataTable with rows. I can verify this because when I use the DataTableVisualizer of the ClassDataTable in question, I see the rows are there. BUT...when I call the .Rows property of the table, it tells me there are no rows. I am completely baffled...I got every single other collection to work...not sure why I am having such problems with the last peice (DataRows).
>
>Help!
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform