"Jethro" <je*******@hotmail.comschrieb
On 8 May, 15:40, "Jethro" <jethro...@hotmail.comwrote:
Hi guys,
I'm a bit of a newbie, but know VB Classic quite well. The above
statement appears in some code I'm hacking, and I have added a
column to the DataGrid (in the middle, so those to the right have
had their index upped by one). Yet the statement above seems to
still return the same value.
Is the Index value (9) in the statement :
CType(e.Row.Cells(9).FindControl("lblTimeleft"), Label)
doing anything, or is the call simply going to the row, and picking
the control from there ?
Thanks in advance
Sorry, no answer, but you should give some more information. What is e?
Where is the code located? By searching for "findcontrol" I get 5
results. Which one is it? "Cells" give 4 results. Hmmm... Ok, 3 out of 5
are "protected", so 2 are remaining..... After combining the results,
it's probably
System.Web.UI.Control.FindControl(ByVal String) As
System.Web.UI.Control
Right? Pretty much to do for a reader before being able to understand
the question. :-)
Armin