ASP.NET gridview row onclick

前端 未结 4 1184
谎友^
谎友^ 2020-12-17 19:09

I\'m attempting to have an onclick event added to a row once the data is bound to a gridview webcontrol. The code below is not adding any attributes (checked the viewsource

4条回答
  •  一生所求
    2020-12-17 20:00

    You can use rowcommand event if it's not working. http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowcommand.aspx

提交回复
热议问题