1. 导出功能 public static void OutExcel(DataTable dt) {
GridView gv1 = new GridView(); gv1.DataSource = dt; gv1...
分类:
其他好文 时间:
2014-06-03 09:46:45
阅读次数:
196
1.先安装soap扩展sudo yum install
php-soap2.安装openssL3.function issure($sn){//通过soap链接接口 进行确认是否是正确的sn码 try{
$client = new SoapClient("https://118.124.139.23...
分类:
其他好文 时间:
2014-06-03 07:32:16
阅读次数:
280
代码如下: //删除短信
getContentResolver().delete(Uri.parse("content://sms/#"),"address=?", new
String[]{"10001"}); ...
分类:
移动开发 时间:
2014-06-03 07:28:46
阅读次数:
223
public class Fibonacci { private static Map map =
new HashMap(); static{ map.put(0L, 1L); map.put(1L, 1L); } public static void
main(String[] arg...
分类:
其他好文 时间:
2014-06-03 07:24:25
阅读次数:
221
数组的静态声明法 int arr[] ={1,3,5,7}; 或 int [] arr
={1,3,5,8};数组的动态声明法int arr [] =new int[10];char arr [] =new
char[10];..二维数组的定义方法int arr [][] ={{1,2},{6,5....
分类:
编程语言 时间:
2014-06-03 06:40:42
阅读次数:
204
Net中正则表达式的简单使用方法及常见验证判断判断字符串是只是数字我们可以这样写:return new
System.Text.RegularExpressions.Regex(@"^([0-9])[0-9]*(\.\w*)?$").IsMatch(strNumber);或者return
Syste...
分类:
Web程序 时间:
2014-06-03 05:38:27
阅读次数:
293
原文:http://www.cnblogs.com/Aiooioo/archive/2011/05/30/cs-iis.html在.Net中我们可以使用内置的类DirectoryEntry来承载IIS服务器中的任何网站,虚拟路径或应用程序池对象,例如:DirectoryEntry
ent = new...
分类:
Web程序 时间:
2014-05-31 16:43:52
阅读次数:
407
网上好多说法 但实际上说到点上的没有 不想写太长 直接进入正题Intent intent =
new
Intent(Intent.ACTION_VIEW);intent.addCategory(Intent.CATEGORY_DEFAULT);intent.setDataAndType(Uri.fr...
分类:
移动开发 时间:
2014-05-31 12:42:34
阅读次数:
283
ProblemYou want to point out a specific
location on a map to the user.SolutionUse built-in map view annotations. Follow
these steps:1. Create a new cl...
分类:
其他好文 时间:
2014-05-31 12:30:19
阅读次数:
240
http://0pointer.de/blog/projects/systemd.htmlRethinking PID 1If you are well
connected or good at reading between the lines you might already know wha...
分类:
其他好文 时间:
2014-05-31 11:29:28
阅读次数:
286