Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*********************
- * Save the details *
- *********************/
- private void saveDetail()
- {
- using (TextWriter tw = new StreamWriter( path + "\\dataToLoad.ilt"))
- {
- // Run on all over the table
- for (int i = 0; i < dataGridView1.Rows.Count ; i++)
- {
- // Write to file the value at the table with cell sepereted by the char ' Ν '
- tw.WriteLine(dataGridView1[0, i].Value + "Ν" + dataGridView1[1, i].Value + "Ν" + dataGridView1[2, i].Value);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement