陈淑桦现在怎么样了:C#.net问题

来源:百度文库 编辑:高校问答 时间:2024/04/28 08:16:22
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if ((e.Row.RowType != ListItemType.Header) && (e.Row.RowType != ListItemType.Footer))
{
e.Row.Attributes.Add("onmouseover", "c=this.style.backgroundcolor;this.style.backgroundcolor=#666666;");
e.Row.Attributes.Add("onmouseout", "this.style.backgroundcolor=c;");
}
}

if语句里面!=使用错误,应该怎么写呢,大家帮忙看看吧

if ( ( 非(xx等于yy) ) && ( 非(aa等于bb) ) )