Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting number of columns in a row
Message
De
20/03/2007 07:53:39
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
À
19/03/2007 17:31:22
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01205036
Message ID:
01205988
Vues:
20
Ty Bonnie but I knew that cause I needed 1 method that would received 2 row and returned a string with the columns names that where diferent.
That's the prb with the .net framework so many classes with so many methods and properties that sometimes is easy to get lost on it. ;)

>>Actually Bonnie if you read Michel question both answers where not so right, since you may have a row that is passed to a method as a parameter and in that case you will not have the datatable or dataset variable.
>>The correct answer should be assuming you have a row var called myRow
>>
>>myRow.Table.Columns.Count
Excellent point Alexandre!! Michel *did* ask specifically about a row's columns collection, not a table's columns collection. I think we were all sleeping on that one. Good catch! You should get the stars! =0)
>
>~~Bonnie
Alexandre Palma
Senior Application Architect
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform