Date: 11/28/06 (Code WTF) Keywords: no keywords if("-1".Equals(e.CommandArgument) && "Insert".Equals(e.CommandName)) { ... } почему бы не написать if(e.CommandArgument.Equals("-1") && e.CommandName.Equals("Insert")) или даже if(e.CommandArgument.Equals("-1") && e.CommandName == "Insert") Source: http://community.livejournal.com/code_wtf/59428.html
|