setColumnView是可以用,setRowView还是没效果是这样的来个更诡异的Java代码 收藏代码import java.io.*; import
jxl.*; import jxl.write.*; public class JxlTest { public static void .....
分类:
其他好文 时间:
2014-05-19 10:24:28
阅读次数:
167
private void C_txt(string str){ string strname
= "D:\\" + System.DateTime.Now.ToString("yyyymmddhhmmss") + ".txt"; StreamWriter
swWordChange = n...
分类:
其他好文 时间:
2014-05-19 09:53:50
阅读次数:
188
protected void GridView1_RowDataBound(object
sender, GridViewRowEventArgs e) { for (int i = 0; i < e.Row.Cells.Count;
i++)//获取总列数 { //如果是数据行则添加title i...
分类:
其他好文 时间:
2014-05-19 09:44:01
阅读次数:
193
runtime反射属性列表:把反射属性的用法说完。。。IOS网络请求大家应该很不陌生了把,但有时候我们需要向服务器传递的数据比较多,这个时候,也是我们runtime发挥的时候了。直接上代码,童鞋们估计快该骂人了。一个反射属性,讲这么久。。。-(void)createPostDateWithDic{
...
分类:
其他好文 时间:
2014-05-19 09:36:53
阅读次数:
211
最近程序中用到了,底部弹出框,看了下,前辈写得代码,搜索了下网路,发现其实都没有很好的解决问题,所以研究了下,将代码分享出来,跟大家分享一下,有问题的话,欢迎各位大牛批评指正。最古老的方法一:-(void)CreateActionSheet{
self.actionSheet= [[UIActi.....
分类:
其他好文 时间:
2014-05-19 08:39:03
阅读次数:
306
u 常用的API创建Cookie对象Cookie(String name, String value)
->以指定数据创建Cookie对象设置Cookie对象void setMaxAge(int expiry)
->设置Cookie的最大有效时间void setPath(String uri) .....
分类:
其他好文 时间:
2014-05-19 08:34:51
阅读次数:
253
void quickSort(int *a1 , int *a2){ int i=0 ,
j=a2-a1-1; if (i>=j) return; swap(a1[0] , a1[rand()%j+1]); while( ia1[0])
--j; if(i<j)...
分类:
其他好文 时间:
2014-05-19 07:43:47
阅读次数:
213
本文内容来自《pointers on C》栈的接口/* Interface for a stack
module */#define STACK_TYPE intvoid push(STACK_TYPE value);void
pop(void);STACK_TYPE top(void);in...
分类:
其他好文 时间:
2014-05-18 20:37:48
阅读次数:
509
#include #include int main(/*int argc, char const
*argv[]*/){ void * target; time_t now = time(NULL); if(now & 1) target =
&&odd; else target = &&e...
分类:
其他好文 时间:
2014-05-18 20:27:53
阅读次数:
306
package edu.sjtu.erplab.io;import
java.util.Random;public class RandomTest { public static void main(String[]
args) { int max=20; int...
分类:
编程语言 时间:
2014-05-17 18:04:42
阅读次数:
239