UiPath 입문자입니다.
csv파일을 실행시켜서 데이터 테이블에 row 데이터를 추가하거나 특정 셀 데이터를 수정하고 싶습니다.
어떤 액티비티를 써야하고 로직을 짜야할지 모르겠어요
UiPath 입문자입니다.
csv파일을 실행시켜서 데이터 테이블에 row 데이터를 추가하거나 특정 셀 데이터를 수정하고 싶습니다.
어떤 액티비티를 써야하고 로직을 짜야할지 모르겠어요
HI @Benimaru
→ You can use Read CSV activity to read the CSV File and store in a datatable.
→ Then you can use the datatable activities to perform the required actions.
→ After that use write CSV Activity to write the Output datatable to same CSV file.
If you give me what are the actions you want to in datatables, then we will give the suggestions how to do it.
Hope it helps!!
Hello @Benimaru,
To accomplish your task of adding row data to a DataTable or modifying specific cell data using UiPath, you can follow these general steps:
Add Data Row
activity.Here’s a simple example:
1. Read CSV File:
- Use the "Read CSV" activity to read the CSV file into a DataTable variable (e.g., `dtCSV`).
2. Modify DataTable:
- Use activities like "Add Data Row" to add new rows to the DataTable or directly modify the values of specific cells in the DataTable.
3. Write DataTable to CSV:
- Use the "Write CSV" activity to write the modified DataTable back to a CSV file.
Thanks,
Ashok
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.