D Selector

Your selector should be something like this to make it dynamic :
"<wnd...........................tableRow = " + row("Table_row").ToString + " />"

Once that is taken care of, the below link might help with your error.