添加中文字符编码:$sudo vim
/var/lib/locales/supported.d/local#添加下面的中文字符集zh_CN.GBK GBKzh_CN.GB2312
GB2312zh_CN.GB18030 GB18030使其生效:$sudo dpkg-reconfigure local...
分类:
其他好文 时间:
2014-06-10 21:59:46
阅读次数:
355
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.IO;using System.IO.Compression;using
System.Data;namesp...
分类:
其他好文 时间:
2014-06-10 21:53:25
阅读次数:
160
JavaScript 中的ajax提交请求 $.ajax({// 提交地址 url: "", //
提交的数据 data: { key1: value1, key2: value2, key3: value3, key4: value4 },// 提交前事件
beforeSend: function...
分类:
Web程序 时间:
2014-06-10 21:45:31
阅读次数:
279
using System;using System.Collections.Generic;using
System.Text;using System.Data;using System.Data.SqlClient;namespace DAL{/// ///
数据层 - 数据库 操作类/// i...
分类:
数据库 时间:
2014-06-10 12:12:58
阅读次数:
307
VCF is a text format. It contains
meta-information lines, a header line, and then data lines each containing
information about a posittion in the geno...
分类:
其他好文 时间:
2014-06-10 11:35:34
阅读次数:
771
路由器A router is a device that forwards data packets
between computer networks. This creates an overlay internetwork, as a router is
connected to two or...
分类:
Web程序 时间:
2014-06-10 11:26:26
阅读次数:
277
项目步骤
声明listView控件并获取显示的视图获取显示的数据设置显示的adapter注册点击事件
具体案例
实现效果:
查找的方法
public List> getData() {
SQLiteDatabase db = dh.getWritableDatabase();
List> data = new ArrayList>();
Cursor c...
分类:
其他好文 时间:
2014-06-10 10:55:23
阅读次数:
193
创建一个DataTable对象: 1 DataTable dt = new
DataTable(); 2 DataColumn dcName = new DataColumn("Name"); 3 DataColumn dcAge =
new Data...
分类:
Web程序 时间:
2014-06-10 10:21:36
阅读次数:
220
binary search\sort\find operations
status InsertNode(Node* root, data x, Node* father)
{
if(root==NULL)
{
if(father==NULL)
Tree empty;
else
{
if(xdata)
{
father->left=new Node//inital l...
分类:
其他好文 时间:
2014-06-10 08:09:49
阅读次数:
234
手机游戏目前是弱联网居多,http登录是常用功能。我们现在就来实现。
在启动时候,自动请求http.function MainScene:ctor()
local url = "http://localhost/request.php"
local request = network.createHTTPRequest(onRequestFinished, url, "P...
分类:
Web程序 时间:
2014-06-10 07:20:02
阅读次数:
446