Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB.Net Get Table Name Off DataSet
Message
 
À
12/05/2009 09:02:51
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01399330
Message ID:
01399464
Vues:
38
>>This works in C#.
>>
>>
>>string TableName = DS.Tables[0].TableName;
>>
>>
>>
>>Dim Table As String
>>Table = DS.Tables[0].TableName
>>
>>
>>In VB I get a compilation error "Value of type 'System.Data.DataTableCollection' cannot be converted to 'String'"
>>
>>How do I get the name of a table off of a dataset?
>
>What is the data type of the TableName property?

As far as I can see, it's string.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform