Store Data for Application - Read from CSV

Опубликовано: 20 Март 2026
на канале: rory mulcahey
382
3

In this video we will cover how to read from a CSV file and input it into our application.

Basic Steps:

Define load data method.
Identify path to csv file and have data ready.
Create streamReader and while loop setup
Read data from file
Ignore header row data
Split data by comma, then populate dictionary and comboBox
Add Method to form constructor (refactor form1)


C# .NET
Windows Form Application
Visual Studio
Messagebox Show
While loop
Dictionary
Enum
Struct
String
StreamReader
combobox