开发者

Tablecellcollection is not callable

This is a dumb question, but I just cant find an answer. I开发者_如何学JAVA want to do something as simple as this in IronPython, something I did in asp.net vb.net to capture the id of a table displayed in a gridview or datagrid

iid = e.Item.Cells(2).Text

But I get "Tablecellcollection is not callable". Any idea or alternative to solve it?


Use brackets around the indexing portion of your expression instead of of parentheses.

iid = e.Item.Cells[2].Text
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜