Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inheriting DataRows...
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Inheriting DataRows...
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01228523
Message ID:
01228523
Vues:
61
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!
________________________
Ben Santiago, MCP & A+
Programmer Analyst (SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS)
Eastern Suffolk BOCES - Student Data Services


Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
-Rich Cook
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform