Convert datatable to CSV

Sergio Lopes

Новичок
Регистрация
08.01.2016
Сообщения
11
Благодарностей
0
Баллы
1
Hi, i need convert datatable in html to csv, some tip ?
Exists some c# code to this?

kind regards,

Sérgio Aguiar
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 182
Баллы
113

Sergio Lopes

Новичок
Регистрация
08.01.2016
Сообщения
11
Благодарностей
0
Баллы
1
I need to separate and store these rows and columns.
 

Вложения

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 182
Баллы
113
Well as I see first you should use regex to get your needed data to variables.
Then add table to your project, and add your csv file.
Save data in table and all your data will be in csv file. :-)
 

Sergio Lopes

Новичок
Регистрация
08.01.2016
Сообщения
11
Благодарностей
0
Баллы
1
do you doesn't have some example in code c# to clear datatable and organize in csv?
 

zortexx

Client
Регистрация
19.09.2011
Сообщения
2 520
Благодарностей
1 223
Баллы
113
It is not really possible to upload file with .csv extension on this forum. So I changed it to .txt.
 

Вложения

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)