Advertisement
Ortund

Untitled

Jun 13th, 2014
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.18 KB | None | 0 0
  1. Dim textBoxText = TextBox1.Text
  2.  
  3. Dim dt As New DataTable()
  4.  
  5. Dim col As DataColumn = dt.Columns.Add("Title")
  6.  
  7. Dim row As dt.NewRow
  8. row("Title") = textBoxText
  9.  
  10. dt.Rows.Add(row)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement