Hello,
If you use a bound column, you would refer to data in the cell as:
e.item.cells(n).text
However, you use use a column such as the template column, you can put one or more controls in it. You can then reference each control through the controls collection. For example, if you put a textbox and a linkbutton in a template control (in that order), you could reference the textbox by controls(0) and the linkbutton by controls(1).
Ideally, you want to have a controls collection because you don't want to limit a column to one control only.
Brian
|