
Completed
Posted
Paid on delivery
I have a .NET C# function which takes data from an sql query and writes them to a CSV file. However the resulting CSV file is not properly escaped for values which contain quotes (") and comma (,) We would like to encase those values which contain (,) to quotes and escape the inner quotes if they exist so that the resulting csv is valid. Here is the function ``` /// <summary> /// /// </summary> /// <param name="reader"></param> /// <param name="filename"></param> /// <param name="path">if null/empty will use [login to view URL]()</param> /// <param name="extension">will use csv by default</param> public static void ToCsv(this IDataReader reader, string filename, string path = null, string extension = ".csv") { int nextResult = 0; do { var filePath = [login to view URL]([login to view URL](path) ? [login to view URL]() : path, [login to view URL]("{0}{1}", filename, extension)); using (StreamWriter writer = new StreamWriter(filePath)) { [login to view URL]([login to view URL](",", [login to view URL](0, [login to view URL]).Select([login to view URL]).ToList())); int count = 0; while ([login to view URL]()) { [login to view URL]([login to view URL](",", [login to view URL](0, [login to view URL]).Select([login to view URL]).ToList())); if (++count % 100 == 0) { [login to view URL](); } } } filename = [login to view URL]("{0}-{1}", filename, ++nextResult); } while ([login to view URL]()); } ``` Can you help me fix this?
Project ID: 34212813
35 proposals
Remote project
Active 4 yrs ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
35 freelancers are bidding on average €42 EUR for this job

Hi, You need a minor tweak to fix the issue you are getting. We can connect and I can tell you how to fix it.
€30 EUR in 1 day
7.5
7.5

Hello, I understood your needs, but have few questions, text me and I will clear all my questions right away
€100 EUR in 1 day
5.5
5.5

I have solution right away. Please come to chat and I will tell you whats the problem. Then you can award me this project. Do you want to do this through team viewer ?
€20 EUR in 1 day
5.8
5.8

Hi..., My Availability: 40+ hours/week. Ready to start work immediately. I read your requirement of .NET Developer. I am experienced full stack .net developer in ASP.NET Core / MVC / WebForm / WinForm / WPF / Blazor, C#, Jquery, HTML5, Telerik, DevExpress, SQL Server, MySQL, PostgreSQL, Telerik / Devexpress / Syncfusion. I offer immediate support in weekend also. Please message me to start discussion. Thanks
€30 EUR in 1 day
5.6
5.6

Hi there I'm an expert in Microsoft technologies. I have more than 20 years of experience in software development. I’m very sure that I can help you with your project Regards Carlos
€19 EUR in 7 days
5.6
5.6

Hello, sir i have 10 years experience in c# & asp.net programming i can help you to fix the function contact on chat Regards, Ahmed Sobhy
€10 EUR in 1 day
5.5
5.5

Hello, I am senior .NET developer. I can fix your csv file issue. please contact me via chat and discuss more Thank You
€30 EUR in 2 days
4.9
4.9

Hello, Can we discuss the project details over chat? I am MS full stack developer having expertise in developing web, desktop application and I think I can manage this project well. I can share my project examples with you. Hope to hear from you soon. Thanks
€20 EUR in 1 day
4.8
4.8

yes of course I can fix them I read your description carefully and fully understood! I am happy to have the opportunity to help you. Perfection and punctuality are my iron rules. If you want the best result, select me! Results, not words, will prove everything!
€50 EUR in 1 day
5.0
5.0

I have a lot of experience in programming, especially in c/c++, c# and java. I think I know what your issue is and I can fix that in just a few hours. I am waiting for your response. Best regards, Andrei
€25 EUR in 1 day
4.3
4.3

Hi, there. I am a honest dedicated developer. I read your requirements carefully and understood very well about the project scope and start working accordingly in stages. I am having more then 6+ years of experienced in programming and I believe that I can start working step by step and achieve the project goal in short time frame. I look forward to hear from you soon. Best Regards.
€500 EUR in 7 days
3.6
3.6

Hi, there. I have read your proposal very carefully. I can fix them for you. I have worked for 7 years with .NET. Please chat me. Thanks.
€20 EUR in 7 days
3.1
3.1

Hi there, I have been developing apps using .NET framework, C#, ASP.NET, Angular, JavaScript, HTML, CSS from last 6 years. I have also strong hands on Bootstrap 3,4 and 5. I can provide you best and long lasting solution you need. I am also available 24/7 on WhatsApp, Skype, Meets. I can also be connected on whichever platform for communication you prefer. I can provide you timely updates and keep you posted about the work done. If any of above sounds interesting, please let me know your availability to connect. We can discuss about your requirement and if you have any questions regarding my work. Thanks & Regards Dev Brat Rai
€19 EUR in 7 days
3.1
3.1

Hi, Thank you for posting this project, and I'm very happy to bid your project. I have read your description over. As a professional .NET & ASP.NET & C# developer, I have 5+ years of experiences. I have gone through the job description and understood your requirements. I can start working immediately on this project if needed. Happy to discuss on project details to clarify. Please chat me.
€30 EUR in 1 day
2.6
2.6

Hi , Read your requirement and like to work on the project . My Skills are C, C++ , html , css , jscript , jquery and bootstrap . C# (desktop and web applications ) . C# Asp.net ( framework and .net core ) using winforms and mvc . Also developed web service (soap and restful ) . Also developed application in mobile using flutter and android. Lets discuss more on chat . Thanks.
€30 EUR in 7 days
2.5
2.5

Hi there , I am full stack developer with frontend language Angular and Backend language .Net I am an expert developer in Angular ,RxJs ,.Net Mvc ,Jquery,REST API , linq , Bootstrap,Html,Css I have great experience in .net and angular since 2+ year Awaiting For Your Response. Thanks
€8 EUR in 1 day
3.1
3.1

Hi, sir! I just read your project description carefully. I have a lot of experience in working with C# and have been working on Application development for the past 15 years. I had ever made Audio design Tool with WPF from Oct. 2016 to Nov 2021 You can expect the best result from me. Please contact me. I wish we would discuss about this task in detail. Sincerely.
€20 EUR in 7 days
2.1
2.1

Hello friend, I appreciate your need to have this service, so don't worry I'll help you make it comfortably. I will be glad if you could provide more details about the project. Make sure that you will be very happy, when I start working with you, because I can easily do your work according to your requirements, and I'm very good with these kinds of project. Never hesitate to contact me. Best regards.
€70 EUR in 2 days
1.6
1.6

Hello, dear. I will fix this issue in an hour as C# expert. I have experience to do this such task before. So it will not take more than an hour. Thanks.
€20 EUR in 1 day
1.0
1.0

Please provide your SQL data in Excel file. I will provide you solution of this problem as soon as.
€20 EUR in 2 days
0.0
0.0

STAVROUPOLI, Greece
Payment method verified
Member since Oct 2, 2011
€2-6 EUR / hour
$2-8 USD / hour
€30-100 EUR
€80-150 EUR
$2-8 USD / hour
min $50 USD / hour
₹12500-37500 INR
₹400-750 INR / hour
$250-750 AUD
₹100-400 INR / hour
₹750-1250 INR / hour
₹750-1250 INR / hour
$2-8 USD / hour
₹400-750 INR / hour
₹100-400 INR / hour
$250-750 USD
₹750-1250 INR / hour
$15-25 USD / hour
₹1500-12500 INR
$10-30 USD
$15-25 USD / hour
₹250000-500000 INR
₹37500-75000 INR
₹750-1250 INR / hour
₹12500-37500 INR