码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
Web C# 导出Excel 方法总结
方法1:微软推荐服务器需安装Excel型依赖:软件:Office Excel 2007-2013引用:Microsoft Office 14.0 Object Library1-1.数据准备 1 //Excel文件名称 2 string ExcelName = System.DateTime...
分类:Windows程序   时间:2015-05-05 12:31:28    阅读次数:173
怎么截取某个特定字符前面的数据,且特定字符后面的有规律
public class StringTest { /** * 怎么截取24,122,怎么截取某个特定字符前面的数据,且特定字符后面的有规律 * @param args */ public static void main(String[] args) { // TODO Auto-gene...
分类:其他好文   时间:2015-05-05 12:31:06    阅读次数:155
java中“/0”含义
public class Test { public static void main(String[] args) { // 正常情况下,对这个0,tp中储的是其对应的ASCII码48 char tp = '0'; System.out.println((int) tp); // 加了\表示后面的...
分类:编程语言   时间:2015-05-05 12:27:58    阅读次数:142
简单编码解码学习
//淘宝IP地址库http://ip.taobao.com/accurancy.php string url = "http://ip.taobao.com/service/getIpInfo.php?ip=122.224.94.210"; string...
分类:其他好文   时间:2015-05-05 12:25:33    阅读次数:177
HttpRequest 工具
1.根据 url 和 encoding 获取当前url页面的 html 源代码 public static string GetHtml(string url, Encoding encoding) { HttpWebRequest request = null...
分类:Web程序   时间:2015-05-05 12:25:22    阅读次数:137
XML转换
序列化:序列化复杂类public static string Serializer(T obj) { MemoryStream Stream = new MemoryStream(); XmlSerializer xml = new XmlS...
分类:其他好文   时间:2015-05-05 12:16:13    阅读次数:135
C#入门经典(第五版)学习笔记(三)
---------------面向对象编程简介---------------UML表示方法: 1)方框上中下三分 2)上框写类名 3)中框写属性和字段,例如:+Description:string+公共成员-私有成员 Description成员名 string成员类型 4)下框写方法,例如:...
分类:Windows程序   时间:2015-05-05 12:15:56    阅读次数:157
电脑整理的时候发现的一些
正则超级链接 string pattenhref = "])*>"; string pattenhrefend = "])*>"; Regex rg = new Regex(pattenhref, RegexO...
分类:其他好文   时间:2015-05-05 12:14:31    阅读次数:187
[LeetCode 125] Valid Palindrome
https://leetcode.com/problems/valid-palindrome/ Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring...
分类:其他好文   时间:2015-05-05 12:13:38    阅读次数:94
$.ajax()方法详解
jquery中的ajax方法参数总是记不住,这里记录一下。1.url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。2.type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使用,但仅部分浏览...
分类:Web程序   时间:2015-05-05 12:12:10    阅读次数:111
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!