How do I get the value of a gridview Cell?

后端 未结 4 1409
遥遥无期
遥遥无期 2021-01-14 20:14

How can I get the value of a gridview cell? I have been trying the code below with no luck.

protected void grvExpirations_RowDataBound(object         


        
4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-14 21:04

    If you use the above methods you will get the value of cell[5] for the last row only.
    So if you are specific about a certain row I think you can get the value from any other gridview event handlers.

提交回复
热议问题