(论坛答疑点滴)DataGrid的EditCommandColumn如何使用图片作为按钮?

 其实很简单

<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="<img src='update.jpg'border='0'>" CancelText="<img src='cancel.jpg'border='0'>" EditText="<img src='edit.jpg'border='0'>"></asp:EditCommandColumn>

类似这么写就可以了

欢迎大家阅读我的极客时间专栏《Java业务开发常见错误100例》【全面避坑+最佳实践=健壮代码】
原文地址:https://www.cnblogs.com/lovecherry/p/156358.html