Re: Identifying Rows
- From: "Mark Rae [MVP]" <mark@xxxxxxxxxxxxxxxxx>
- Date: Sun, 30 Dec 2007 00:40:36 -0000
"Milosz Skalecki [MCAD]" <mily242@xxxxxxxxxxxxxxxxx> wrote in message news:EDE6104A-03AC-45F4-A7A2-FB3FC6205413@xxxxxxxxxxxxxxxx
Refering to Mark's reply, bound field is represendted by DataTableCell
(which does not contain any child controls) therefore in order to get the
value you must use Text property
row.Cells[index].Text
You are right of course, but I took the OP's statement of "so I put a <LABEL> in one of the cells" to mean that he'd created a TemplateColumn containing an <asp:Label> control - I have a feeling now that he didn't...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
.
- Follow-Ups:
- Re: Identifying Rows
- From: Ben
- Re: Identifying Rows
- References:
- Identifying Rows
- From: Ben
- RE: Identifying Rows
- From: Milosz Skalecki [MCAD]
- Re: Identifying Rows
- From: Ben
- Re: Identifying Rows
- From: Milosz Skalecki [MCAD]
- Identifying Rows
- Prev by Date: Re: Identifying Rows
- Next by Date: Re: Using .NET 2.0/3.0 component in ASP.NET 1.1
- Previous by thread: Re: Identifying Rows
- Next by thread: Re: Identifying Rows
- Index(es):
Relevant Pages
|