- protectedvoidGridView1_RowDataBound(objectsender,GridViewRowEventArgse)
- {
- if(e.Row.RowType==DataControlRowType.DataRow)
- {
- foreach(TableCellcelline.Row.Cells)
- {
- cell.Attributes["onclick"]="window.clipboardData.setData('Text',this.innerText);";
- }
- }
- }
复制GridView单元格内容到剪贴板
最新推荐文章于 2020-11-23 20:18:26 发布