Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

csv

Reading CSV file with OLEDB ignores first line even with HDR=No in Connection String

August 30, 2022 by Magenaut

We’re converting a Classic ASP site to an ASP.NET site. One function was to upload a ‘template’ of data in CSV format for importing into the database. There were several different record types in there (the first field always indentifies the type of data).

Categories ASP.NET, Q&A Tags asp.net, csv, oledb, vb.net Leave a comment

How do I best generate a CSV (comma-delimited text file) for download with ASP.NET?

August 30, 2022 by Magenaut

This is what I’ve got. It works. But, is there a simpler or better way?

Categories ASP.NET, Q&A Tags asp.net, csv, file-io, vb.net Leave a comment

Returning CSV from .NET Core controller

August 27, 2022 by Magenaut

I’m having trouble having a .NET Core API Controller endpoint resolve to a CSV download. I’m using the following code which I pulled from a .NET 4.5 controller:

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, c#, csv Leave a comment

Enforce LF line endings with CsvHelper

August 26, 2022 by Magenaut

If I have some LF converted (using N++) CSV files, everytime I write data to them using JoshClose’s CsvHelper the line endings are back to CRLF.

Categories ASP.NET, Q&A Tags asp.net, c#, csv, csvhelper, line-endings Leave a comment

Reading only specific columns from a CSV file out of many

August 25, 2022 by Magenaut

I have a CSV file which looks like this basically:

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, c#, csv, file Leave a comment

DataGrid to CSV file

August 25, 2022 by Magenaut

I am binding a DataTable to a DataGrid, everything is working fine.
My next step is to export the DataGrid data to a CSV file, comma delimited.

Categories ASP.NET, Q&A Tags .net-3.5, asp.net, c#, csv, datagrid Leave a comment

Column limitation on CSV using Microsoft Jet OLEDB

August 24, 2022 by Magenaut

I’m importing data from a CSV that contains approx 350 columns. This CSV import is fixed and I have absolutely no control over it.

Categories ASP.NET, Q&A Tags .net, asp.net, c#, csv, oledb Leave a comment

Trying to export asp.net gridview to a .csv file

August 23, 2022 by Magenaut

I am trying to export a gridview to a csv file but my code seems to be only exporting the header.

Categories ASP.NET, Q&A Tags asp.net, csv, gridview, vb.net Leave a comment

How to Comma separate multiple rows obtained from a SQL Query

August 23, 2022 by Magenaut

I wrote a query as :

Categories ASP.NET, Q&A Tags asp.net, csv, sql Leave a comment

iterate over a set of URLs and gather the output of data in CSV formate

August 23, 2022 by Magenaut

similar to this thread and task
scrape with BS4 Wikipedia text (pair each heading with paragraphs associated) – and output it to CSV-format

Categories Python, Q&A Tags beautifulsoup, csv, pandas, python Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page15 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress