if(e.Item.ItemType==ListItemType.Item||e.Item.ItemType==ListItemType.SelectedItem||e.Item.ItemType==ListItemType.AlternatingItem)
{
//
//设置鼠标经过颜色
e.Item.Attributes.Add("onmouseover",";this.style.backgroundColor='#f0f0a2';this.style.cursor='hand'");
e.Item.Attributes.Add("onmouseout",";");
string codeNo=e.Item.Cells[0].Text;
//双击弹出修改信息窗体
e.Item.Attributes.Add("ondblclick",""+codeNo+"',window,'dialogwidth:42;dialoghigth:20;help:no');window.location.href=window.location.href;");
}
{
//
//设置鼠标经过颜色
e.Item.Attributes.Add("onmouseover",";this.style.backgroundColor='#f0f0a2';this.style.cursor='hand'");
e.Item.Attributes.Add("onmouseout",";");
string codeNo=e.Item.Cells[0].Text;
//双击弹出修改信息窗体
e.Item.Attributes.Add("ondblclick",""+codeNo+"',window,'dialogwidth:42;dialoghigth:20;help:no');window.location.href=window.location.href;");
}