http://expert.csdn.net/Expert/FAQ/FAQ_Index.asp?id=2685
解决方案 »
- 问个string类型的弱智问题
- Gridview全选删除
- 分享一个应用程序,自己用的,界面不太讲究,主要是及自己里的一些经验
- 问一个关于ASP.NET AJAX 客户端控件ListView数据绑定问题
- 求围观!将文件转化为字节出错。
- 请问VS2005怎么取出存储过程的返回值
- 请帮新手解决个小问题
- paypal集成到自己购物网站,支付成功,notify_url调用正常,INVALID状态获取成功,但是return页面需要手工点击按钮才能返回自己网站,怎么自动跳回?
- 关于Web Control TreeView ,怎样添加它的单击事件?
- 请各位帮忙看一下!
- web.config的连接字符串
- 插入到数据库的是乱码,不解,请教,谢谢
Private Sub DataGrid1_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles DataGrid1.ItemDataBound
If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem Then
e.Item.Attributes.Add("onmouseover", "document.getElementById('temp').value='" + e.Item.Cells(0).Text + "';currentcolor=this.style.backgroundColor;this.style.backgroundColor='#ffffcc'")
e.Item.Attributes.Add("onmouseout", "this.style.backgroundColor=currentcolor")
e.Item.Attributes.Add("onclick", "document.getElementById('TextBox1').value=document.getElementById('temp').value;")
End If
End Sub