天天看點

(論壇答疑點滴)DataGrid的EditCommandColumn如何使用圖檔作為按鈕?

 其實很簡單

(論壇答疑點滴)DataGrid的EditCommandColumn如何使用圖檔作為按鈕?

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

類似這麼寫就可以了

轉載于:https://www.cnblogs.com/lovecherry/archive/2005/05/16/156358.html