Update a value to entire rows in a column in dataset without looping


/ Published in: VB.NET
Save to your folder(s)

Update a value to entire rows in a column in dataset without looping


Copy this code and paste it in your HTML
  1. Dim dt As New DataTable()
  2. Dim dc As New DataColumn("flag", GetType(Boolean))
  3. dc.Expression = "true"
  4. dt.Columns.Add(dc)

URL: http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/7379aeb0-1a23-4c01-bdff-5ee07d8b2580/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.