is more:
in youdatagridbind:public void dg_bind(object sender,DataGridItemEventArgs e)
{
if(e.Item.ItemType == ListItemType.Item || e.Item.ItemType ==ListItemType.AlternatingItem)
{
e.Item.Attributes.Add("onmouseover","this.style.backgroundColor='#0099FF',this.style.cursor='hand',this.style.ForeColor='white'");//鼠标过来改变背景颜色,鼠标形状
e.Item.Attributes.Add("onmouseout","this.style.backgroundColor='white',this.style.cursor='hand'");//背景颜色鼠标形状
e.Item.Cells[3].Attributes.Add("title","单击修改按纽,可以修改此信息!");//鼠标过来显示文字
e.Item.Cells[3].Attributes.Add("onclick", "alert('单击修改按纽,可以修改此信息!');");//OCLICK动作
希望对你有帮助 }