Yes you are right I need the first example, I tried with this:
Code:
TextBox1.Text = ((TextBox)(e.Item.Cells[4].Controls[0])).Text;
but I still get the same error: Specified cast is not valid ???
Second example works with readonly cols like you said.
I have to solve this urgent
Thanks for your advice