Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a column to datatable with a constant value
Message
From
19/08/2004 09:28:40
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Databases
Title:
Adding a column to datatable with a constant value
Miscellaneous
Thread ID:
00934476
Message ID:
00934476
Views:
72
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/
Next
Reply
Map
View

Click here to load this message in the networking platform