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