I want to read data from CSV file and enter the same in the fields of web application (Data driven). I am using Read CSV concept. Following below steps:
- Added Read Csv and declare one variable for Output (dtLogin) as System.Data.DataTable
- Added ‘For Each Row’ (Foreach row in dtLogin)
- Added ‘Write Line’ in the body of For Each Row and call the first row first value in the same as row(“CorpCode”).ToString
- Added the same ‘row(“CorpCode”).ToString’ in the actual Type into ‘INPUT’ activity.
I am getting error ‘row is not declared. It may be inaccesible due to its protection level’.