I don't really think you're giving us enough information. Why don't you post the code where you're getting the selected row, and post the code where you're using it. That might help us a bit.

Also, please remember to use CODE tags when posting code.