Hi I have a code in C# that works fine, in which the source of data is SQL DB. Is there any way in C# to change the source from SQL DB to CSV file.A part of my code looks like:
DataTable dtEmployes = DB.TakeEmployes();
dgvEmployes.DataSource = dtEmployes;
dgvEmployes.Columns[0].Width = 40;
dgvEmployes.Columns[1].Width = 80;
dgvEmployes.Columns[2].Width = 80;
dgvEmployes.Columns[3].Width = 80;
dgvEmployes.Columns[4].Width = 70;