码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
Eclipse error:Access restriction
报错:Access restriction: The method decodeBuffer(String) from the type CharacterDecoder is not accessible due to restriction on required libraryAccess r...
分类:数据库   时间:2014-05-26 07:30:24    阅读次数:279
一般处理程序ashx结合gdi+处理图片
1 新建一般处理程序 .ashx public void ProcessRequest (HttpContext context) { context.Response.ContentType = "text/plain";context.Response.Write("Hello W...
分类:其他好文   时间:2014-05-26 07:24:18    阅读次数:221
TimeSpan时间间隔详解
1 public string GetShiXian(string fadanshijian) 2 { 3 string result,chulishijian; 4 5 DateTime fdTime, dqTim...
分类:其他好文   时间:2014-05-26 07:12:38    阅读次数:260
简单数据类型转换
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleProgamming{ class Program { static void Main(string...
分类:其他好文   时间:2014-05-26 07:00:58    阅读次数:182
简单上传图片代码
using System.IO; public string UpdatePic(HttpPostedFileBase pic) { string filePath = null; string filename = null; ...
分类:其他好文   时间:2014-05-26 06:45:48    阅读次数:186
c++错误及解决方案随记
————string"未定义标识":添加#include using namespace std;————cout"未定义标识":添加#include
分类:编程语言   时间:2014-05-26 06:45:13    阅读次数:205
Java中 return 和finally
1. 最简单的情形 public void main(){ String s = test(); System.out.println("s=[" + s + "]"); } public String test(){ String...
分类:编程语言   时间:2014-05-26 06:43:27    阅读次数:194
Json-lib使用 转载
1.从Object到String要先用Object对象构造一个JSONObject或者JSONArray对象,然后调用它的toString()方法即可(1)示例一1 Book book=new Book();2 book.setName("Java");3 book.setPrice(52.3f);...
分类:Web程序   时间:2014-05-24 14:01:02    阅读次数:355
小知识总结
1、自动跳转页面2、自动省略 1、文本自动省略 2、屏蔽网页错误
分类:其他好文   时间:2014-05-24 12:55:05    阅读次数:223
各种String类型的时间转long型,long转String
唉! 有用的拿去吧。 直接可以用。 1 package com.tai.use; 2 3 import java.text.SimpleDateFormat; 4 5 public class DataUtil 6 { 7 /** 8 * 时间格式转换,将字...
分类:其他好文   时间:2014-05-24 12:47:52    阅读次数:439
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!