S
Samuel
The following code returns "" even if there is a value in the textbox
s = CType(dg.Rows(e.RowIndex).Cells(0).Controls(0), TextBox).Text
s = CType(dg.Rows(e.RowIndex).Cells(0).Controls(0), TextBox).Text