Current row is 300 and column is “J”. I want to write data to the J300 cell (Please look at the red circle), That’s why I am using write cell avtivity and writing “J” & CurrentRow.ToString or “J” + CurrentRow.ToString but I don’t know why I am getting error of “The range System.Data.DataRow does not exist.”.It’s still the same even if I tried different . Could anyone please answer me if you know? It’s in urgent.
when you do CurrentRow.ToString the output will be the System.Data.Datarow which is the data type of current row. To get the index of that row from dt_test (assuming this is your datatable), do following
"J" & dt_test.Rows.IndexOf(CurrentRow).ToString
Currentrow.tostring will give the type of it which is datarow and not the index
Inside loop properties you have index property …assign a variable to it and use it
If the activities you are using are modern then currentindex variable should be auto available inside loop
Cheers




