man o man love the short way of explaining it, other weblinks were very tough to Understand
@vincentvalentine94174 жыл бұрын
thanks, m8 a lot of times I just need a quick and dirty answer to get me going, then I hash out all the BS later. I really appreciate the not so long-winded response.
@lovegruvberg46314 жыл бұрын
This tutorial is great! Plain simple and not hard to follow at all, thanks a lot
@paragonpartners2058 Жыл бұрын
Thanks, you made it easy for me
@mr-spoon6 күн бұрын
5:43 probably some setting in vs
@danh96765 жыл бұрын
That was quick, easy, and understandable.
@twistentiger56104 жыл бұрын
Thanks for this mate, you have made my life easier
@ShareKnowledge76 Жыл бұрын
GREAT article 👍
@Khud03 жыл бұрын
Awesome, thanks for a very clear and understandable tutorial!
@faketetrisbeatboxguy42414 жыл бұрын
can you do a video on reading the CSV file?
@maxodidily4 жыл бұрын
I have a tutorial on that: kzbin.info/www/bejne/n6jZe2Vsebl-adk
@Paul-ug6rs3 жыл бұрын
Thx Max, do you know how to delete specific data from csv file?
@shreyshah85964 жыл бұрын
Thank you for the wonderful explanation!! but have doubt, where to find the txt file when the app is running on android phone??
@youngsolomon97683 жыл бұрын
how do I add a specific file path
@eastern815 Жыл бұрын
You are awesome👍
@coryhobgood5 жыл бұрын
This helped me to create a .txt. But it's not quite a CSV file. Was looking to create a datatable and output that into a .csv file.
@maxodidily5 жыл бұрын
Just change the file name to have .csv at the end.
@billpapa49664 жыл бұрын
@@maxodidily Hey dude, thank you for the tip. I am doing almost the same thing but I am using the user input from a WPF application I made. I store the user input in variables ( userID and telephone) and then insert those to the. CSV file. I don't how to explain it well but apart from only listing the input from the user, it takes "System.Windows.Controls.TextBox: 542384213894 " all of that. The input is the number and the previous thing is probably the textbox. Evidently, I want it to list only the user input. Do you have any idea what might be the cause of this? I implemented my own method but mostly followed your instructions.
@wearytrader535 Жыл бұрын
@@maxodidily Insane how simple this solution is lmao. I was going to complain about the same thing, thanks for the tip!
@kuldeeptyagi23392 жыл бұрын
Nice
@lukemyles13674 жыл бұрын
Noice wann ..thanks for being a great audience
@shreyanshparashar11524 жыл бұрын
sir can you tell me how i can prevent special character in csv or how can i prevent csv injection
@sjuesju3 жыл бұрын
What would happen if in any of the string you have a coma? For example "Mercy" is "Mer,cy"
@maxodidily3 жыл бұрын
That would result in unwanted behaviour. If you think your data will need commas, you should use a different character or sequence of characters for your delimiter.
@simonsah26197 ай бұрын
super ty :)
@alexvl49033 жыл бұрын
Hi! I write Cyrillic lines to the file. When I open it, I see the hieroglyphs. How can I change the encoding when saving?
@Sajibkumarjoarder2 жыл бұрын
thank you
@charysafflickstraker12784 жыл бұрын
so are we using a console appplication or WFA ?
@maxodidily4 жыл бұрын
This code can be used with either but in this tutorial we use a console application as it is quicker.
@kishorkumar.s344 жыл бұрын
This video was really helpful, but what if we need to add header to these values , how to achieve this.
@maxodidily4 жыл бұрын
You could just use the first line of the file as header values and when you read from the file, just ignore the first line.
@cyberlacs5 жыл бұрын
Congratulations on the great video lesson. Simple, objective and straightforward. Live to Visual Studio and C # God is Faithful. And the earth remains flat until further notice. Thank you very much.
@mt03adventures4 жыл бұрын
if you don't close your stream writer it does not work for a .csv file. I mean for me it did not work just after i closed the file. Anyway ty for the video
@maxodidily4 жыл бұрын
You should close the stream writer, I forgot to mention that.
@ecerejo4 жыл бұрын
From what I understand you don't have to close when you use the keyword "using" like you did. When you use the keyword using it automatically calls Dispose and Dispose will automatically close the writer also. bit.ly/3bGe1M2
@charlesamador34404 жыл бұрын
What ecerejo said!! I added the "using" part, and the .csv file worked!!
@hansshadow3604 жыл бұрын
How to add style to cell when export the file?
@maxodidily4 жыл бұрын
@@hansshadow360 Indeed you can, here is a link to a stack overflow page: stackoverflow.com/questions/42500606/formatting-excel-sheet-using-c-the-style-apply-to-all-cells-not-to-one-cell
@bikrampoudel48484 жыл бұрын
what about csv?
@DaveLight3953 жыл бұрын
What do you mean by that ?
@bikrampoudel48483 жыл бұрын
@@DaveLight395 oh i don't know what did i wanna say at that time 😂 i think i was not quite familiar with CSV at that time 😂
@DaveLight3953 жыл бұрын
@@bikrampoudel4848 oh ok :D
@codymckinney49344 жыл бұрын
can we just get the code to copy and paste :)
@malikjavadov3662 жыл бұрын
danke!
@omgitispewdiepie40726 жыл бұрын
where is your Twitter bot
@16Flavius4 жыл бұрын
You are writting in a txt file, not a CSV file.....
@maxodidily4 жыл бұрын
It does works if you change .txt to .csv
@MrGeorgemoreno5 жыл бұрын
Are those blurred directories porn? Just kidding, thanks for the tutorial (y)
@maxodidily5 жыл бұрын
They are directories are called "homework".
@0x194 жыл бұрын
@@maxodidily and those folders have actual homework inside???? xD jk great vid
@andrewmcallister3529 Жыл бұрын
Think I'll find a different video, you don't even have file types turned on.
@gregplayz16752 жыл бұрын
how do i write into existing rows
@maxodidily2 жыл бұрын
kzbin.info/www/bejne/i3eWqaqNqJmNrLs This tutorial should be what you are looking for.