标签: c# css .net
我正在尝试将一个css类分配给gridview行,但它什么也没做。代码:
ImageButton button = (ImageButton)sender; GridViewRow gvr = (GridViewRow)button.NamingContainer; gvr.Attributes["class"] = "animated fadeOutRight";
怎么了?