This question is much more intuitive then your previous question in the .NET forum.
Even if the gridview is the only control on the page, there are bound to be <tr> tags that do not have any associated properties. I assume that is why you are recieving this error.
hth.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========