如题,做报表时候,有时候要根据是否是合计行,来改变合计行的粗细,大小。可以通过字体的表达式来实现:表达式的通用写法: =iif( Fields!YourFieldName.Value operator "Value to compare", "If condition is met, use thi...
分类:
其他好文 时间:
2014-07-07 00:28:07
阅读次数:
201
Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the ord...
分类:
其他好文 时间:
2014-07-05 19:10:48
阅读次数:
219
public class A{private Vector aListeners = new Vector();private int value;public int getValue(){return value;}public void setValue(int newValue){if(va...
分类:
其他好文 时间:
2014-07-05 17:27:21
阅读次数:
245
今天我研究了一下KVC,下面我将浅谈一下我对KVC的认识,可能认识不足,我会在后续学习生活中改正.
首先,看到KVC,我们会想这个知识点是干嘛的,其实我们了解一下,就会发现KVC(Key-Value-Coding),键值编码
KVC主要是用来间接访问实例变量(赋值)...
下面我们看一下苹果给的KVC的官方文档:
/* Given a value and a key tha...
分类:
其他好文 时间:
2014-07-04 07:27:43
阅读次数:
379
一下是在xml配置文件中设置一个参数,此标签在:标签下使用 value property常用参数如下:connection.driver_class 数据库连接驱动 connection.url 数据库的连接urlconnection.username 登录名connection.password ...
分类:
系统相关 时间:
2014-07-03 19:11:52
阅读次数:
249
后台用将map集合封装成json格式,前台用js获取对应的key和value...
分类:
Web程序 时间:
2014-07-03 18:40:54
阅读次数:
286
What is the Median?
The Problem
Median plays an important role in the world of statistics. By definition, it is a value which divides an array into two equal parts. In this problem you are ...
分类:
其他好文 时间:
2014-07-03 17:43:53
阅读次数:
250
Cookie cookiename=new Cookie("name","value");
这个cookiename只是Cookie对象的名字,与存入的name,value无关,可以任意,甚至重复...
分类:
其他好文 时间:
2014-07-03 17:22:36
阅读次数:
359
登录时存:HttpCookiecookieUserPower=newHttpCookie("UserPower");cookieUserPower.Value=loginuser._UserPower.ToString();HttpContext.Current.Response.Cookies.Add(cookieUserPower);页面判断:if(Request.Cookies["UserID"]==null){ClientScript.RegisterClientScriptBlo..
分类:
其他好文 时间:
2014-07-03 15:10:26
阅读次数:
343
.NET中Dictionary是非常常用的key-value的数据结构,也就是其实就是传说中的哈希表。.NET中还有一个叫做Hashtable的类型,两个类型都是哈希表。这两个类型都可以实现键值对存储的功能,区别就是一个是泛型一个不是并且内部实现有一些不同。今天就研究一下.NET中的Dictiona...
分类:
Web程序 时间:
2014-07-03 12:39:45
阅读次数:
261