Answers for "if data is not available column header should print in output file in powershell"

0

if data is not available column header should print in output file in powershell

if (-not $DataSet.Tables[0].Rows[0]) {
  ($DataSet.Tables[0].Columns | Select-Object -ExpandProperty ColumnName) -join ',' |
    Set-Content -Path "E:\Users\neerajd\Documents\tethystrader-public-dev-general\src\SQL\Misc\out.csv"
}
Posted by: Guest on December-02-2020

Code answers related to "if data is not available column header should print in output file in powershell"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language