Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Create Table in MemoryContent of Create Table in Memory.ps1MD5 Hash: AF080E19B8F7C29E045B49880E23A97A |
||
$dt = new-object system.data.datatable "Test"
$c1 = new-object system.data.datacolumn col1,([int]) $c2 = new-object system.data.datacolumn col2,([string]) $dt.columns.add($c1) $dt.columns.add($c2) $row1 = $dt.newrow() $row1.col1 = 10 $row1.col2 = "This is the first row" $dt.rows.add($row1) $row2 = $dt.newrow() $row2.col1 = 100 $row2.col2 = "This is the second row" $dt.rows.add($row2) $dt ($dt.rows)[0] ($dt.rows)[1].col2 | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |