/// /// 过滤掉html标签/// /// /// public static string RemoveHTML(string htmlstring){//删除脚本htmlstring = Regex.Replace(htmlstring, @"", "", RegexOptions.Ign...
分类:
Web程序 时间:
2015-05-06 17:17:04
阅读次数:
118
import java.util.*;public class jisuan { public static void main(String[] args) { System.out.println("运算符号位:+,-,*,/"); Scanner sc=new...
分类:
其他好文 时间:
2015-05-06 17:16:43
阅读次数:
114
/// /// Get方法 /// /// url地址 /// 数据 格式为"aa=xx&bb=xxx" /// 请求结果 public static string HttpGetConnectT...
分类:
其他好文 时间:
2015-05-06 17:10:57
阅读次数:
113
类的概念一个类可以继承其它类的一切例:class Employee { String name; int age; float salary;}class Manager extends Employee{ String deparentName; int deparentNumber;}pub.....
分类:
编程语言 时间:
2015-05-06 17:10:21
阅读次数:
103
#coding:utf-8import redef strip_tags(string, allowed_tags=''): if allowed_tags != '': # Get a list of all allowed tag names. allowed_tags = all...
分类:
编程语言 时间:
2015-05-06 17:03:44
阅读次数:
143
Uri uri = data.getData();String[] proj = { MediaStore.Images.Media.DATA };Cursor actualimagecursor = managedQuery(uri,proj,null,null,null);int actual_...
分类:
移动开发 时间:
2015-05-06 17:02:44
阅读次数:
189
/// /// 获取本地IP /// /// public string GetIP() { IPHostEntry ipHost = Dns.Resolve(Dns.GetHostName());...
分类:
系统相关 时间:
2015-05-06 17:02:13
阅读次数:
122
protected void btnUpload_Click(object sender, EventArgs e) { Button FU = (Button)sender; //文件保存目录路径 string sa...
分类:
Web程序 时间:
2015-05-06 17:00:40
阅读次数:
127
#region ParseToJson public static string ParseToJson(DataTable dt) { StringBuilder JsonString = new StringBuilder(); ...
分类:
Web程序 时间:
2015-05-06 16:58:50
阅读次数:
121
/// /// C#反序列化JSON /// /// 返回类型 /// JSON字符串 /// public static T JsonDeserialize(string strJson) {...
分类:
其他好文 时间:
2015-05-06 16:57:14
阅读次数:
107