CStringUTF8ToGB2312(CStringstr){intlen;//UTF8转换成Unicodelen=MultiByteToWideChar(CP_UTF8,0,str,-1,NULL,0);wchar_t*pUnicode=newwchar_t[len+1];memset(pUni...
分类:
其他好文 时间:
2014-07-22 23:17:35
阅读次数:
435
添加引用http://htmlagilitypack.codeplex.com/downloads/get/437941protected
void Export(string content,string file) { HtmlDocument doc = new HtmlD...
分类:
Web程序 时间:
2014-07-22 23:17:32
阅读次数:
426
2014年4.27相关技术问题String str=new String("ss");
生成了几个对象求菲波数据
1,1,2,3,5......,第100项的值张三到某店买巧克力,店主领他看四个箱子,每个箱子上都写—句话。第一个箱子:“所有箱子中都有荔枝。”第二个箱子:“本箱中有苹果。”第三个箱子:...
分类:
其他好文 时间:
2014-07-22 23:17:15
阅读次数:
441
创建java工程SamplePlugin:package
com.hoo.server.plugin;import java.io.File;import
org.jivesoftware.openfire.XMPPServer;import org.jivesoftware.openfire.co...
分类:
其他好文 时间:
2014-07-22 23:17:14
阅读次数:
478
昨天尝试了cocos2dx在win下的开发环境配置,并且运行了cocos的helloword程序,晚上想要尝试一下android开发环境配置,顺便学习cocos在eclipse下的JNI机制,按照cocoa中文论坛的android环境配置弄了NDK,并配置了环境变量,由于想要学习cocos的lu.....
分类:
其他好文 时间:
2014-07-22 23:16:53
阅读次数:
396
1.获取CSV数据内容public static Object[][]
getFromCSV(String filename) { if (!(new File(filename)).exists()){ return null;
} Object[][] content; CSVReader r....
分类:
Web程序 时间:
2014-07-22 23:16:34
阅读次数:
467
使用DataTable作为存储过程的参数最近工作中写了几个存储过
程,需要向存储过程中传递字符串,因为SQL Server 2000中没有内置类似于 split
的函数,只好自己处理,将前台数据集中的一列用逗号拆分存到一个List中,再转化为字符串传给存储过程,很是麻烦。今天看了下SQL Serve...
分类:
数据库 时间:
2014-04-29 17:24:46
阅读次数:
434
官方地址:http://fluentdata.codeplex.com/documentationMYSQL:MySQL through theMySQL
Connector .NET driver.连接字符串:Server=127.0.0.1;Database=testDB;Uid=root;Pw...
分类:
数据库 时间:
2014-04-29 17:23:46
阅读次数:
594
参考资料: http://www.dotnet120.com/page/10545/
1.准备工作: 下载32位的JDK6 Java的开发包 下载32位的Eclipse 下载Python 2.x 2.安装JDK6
3.安装Eclipse和Python 4.给Eclipse安装PyDev插件 在Hel...
分类:
编程语言 时间:
2014-04-29 17:23:46
阅读次数:
432
CSDN换回字符串 var
newJSONtext=people.toJSONString(); //获得字符串 可以将它用作 Ajax
应用程序中的请求字符串。J?S?O?N?.?s?t?r?i?n?g?i?f?y? ?
分类:
Web程序 时间:
2014-04-29 17:18:46
阅读次数:
339