Almost - if you want to use arithmetic operations, iRowStr needs to be a number (Int should suffice).
Pseudocode: int iRowStr; string selector = [selector as Mihai showed it] foreach (item in collection) selector = String.Format(selFormat, iRowStr.ToString()); [do stuff] iRowStr = iRowStr + 1;
You can’t assign to [variable].ToString, because that’s a method. Also doing a [string] + 1 would throw a syntax error, or even if it worked doing a + on a string appends that character at the end of the string, so you’d have 0, then 01, then 011 etc.
You can use "<webctrl aaname='Part ID Title Loan ID *' parentid='loanpart-table' tag='TABLE' /><webctrl isleaf='1' tableCol='5' tableRow='" + iRowStr.ToString + "' tag='TD' />"
and you’ll get the same result.
I am not able able to use place the selector variable in the selector property. I use the record button to record the action and i am not able to delete the contents under the selector edit box. If i created the actions (eg select, check) from the activities then i am able to key in iRowStr under the selector property. I also take informative screen for the action. I got the error “Check : The UiElement is not initialized”.
How do u generate the Get Full text? I scrapped from the screen itself.