Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a column to datatable with a constant value
Message
De
19/08/2004 09:28:40
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Titre:
Adding a column to datatable with a constant value
Divers
Thread ID:
00934476
Message ID:
00934476
Vues:
71
Hello,
I am adding a column to my dataset using the following code:

ModelTagsDS.Tables("quantity").Columns.Add("quantity", GetType(System.String))


What I want is for every value in the table to read "1". How might I accomplish this?


TIA!

MAC
Very fitting: http://xkcd.com/386/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform