row.Cells[4].Text returns nothing in GridView1_SelectedIndexChanged?

后端 未结 3 1223
难免孤独
难免孤独 2021-01-22 02:05

I have a GridView in my page :



        
3条回答
  •  悲&欢浪女
    2021-01-22 02:48

    If it's a TemplateField, you have to use the FindControl("control ID") option, not the text fo the cell. I count cell 4 as being a templatefield...

提交回复
热议问题