Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

SQL to CSV Export - Row 1 is #TYPE System.Data.DataRow

$
0
0

I have the recordset coming out of a stored procedure but the first 2 rows says this:

 #TYPE System.Data.DataRow
"Client ID","Client Name"

I have tried using the following:

$DataSet.Tables[0].Rows[0].Delete()
$DataSet.Tables[0].Rows[1].Delete()

but that pesky row just hangs around.

Any help?


Viewing all articles
Browse latest Browse all 8583

Trending Articles