I am working with c# in window application, and I am hardcoding the file path into the program. But if I move the application to another PC, that absolutely can't find out the directory of the file.
like this:
dataGridView2.DataSource = ReadCsv("C:\\Users\\PC\\Documents\\Visual Studio 2015\\Projects\\print_report_system\\price.csv");
Is it someway to solve this problem?
Sorry for my poor english.
Thx a lot.