摘要: 1.根据键值获取value:Dictionary<string, Dictionary<string, int>> reqIpsDicreqIpsDic[key][key]++;或者Dictionary<string,int>reqIpsDicreqIpsDic[key]++reqIpsDic[key]=90//将键为key的值赋为902.根据键添加值:Dictionary<string, Dictionary<string, int>> reqIpsDicreqIpsDic[key].Add(key,value); 阅读全文
posted @ 2012-09-11 16:42 717806198 阅读(259) 评论(0) 推荐(0)
摘要: <asp:DataList ID="DataListFriend" runat="server" RepeatDirection="Vertical" Width="100%" OnItemCommand="DataListFriend_OnClick" CellPadding="4" DataKeyField="ToId"> <ItemTemplate> <div class="friendItem" s 阅读全文
posted @ 2012-09-11 10:46 717806198 阅读(339) 评论(0) 推荐(0)
摘要: 1.最近7天:datediff(DAY,lepu_ImplantedDate,getdate()) <72.最近一个月:datediff(day,datefield,getdate())<=303.获取第一条数据:select top(1) DomainName from SystemUser,select top(1) * from SystemUser4.分组并排序:select * from SystemUser group by BusinessUnitIdName order by lepu_Age desc 阅读全文
posted @ 2012-09-11 09:17 717806198 阅读(147) 评论(0) 推荐(0)