--子增长的插入 /*创建表*/ create table teacher ( id int
identity(1,1) primary key not null, name varchar(20) ) select * from
teacher/*关闭自增长*/SET IDE...
分类:
数据库 时间:
2014-06-10 12:21:35
阅读次数:
243
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
int removeDuplicates(int A[], int n) {
if(n <= 1)
return n;
int newIndex = 0;
for(int i = 1; i < n; ++i){
if(A[i] != A[newIndex])
A[++newIndex] ...
分类:
其他好文 时间:
2014-06-10 10:57:49
阅读次数:
131
项目步骤
声明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
相信把这99条sql搞定,Oracle基本笔试简直就像玩的一样
1. select * from emp;
2. select empno, ename, job from emp;
3. select empno 编号, ename 姓名, job 工作 from emp;
4. select job from emp;
5. select di...
分类:
数据库 时间:
2014-06-10 08:18:19
阅读次数:
188
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
Json编码,在python里就是一句话:
json.dumps(user_data)
但是Erlang没有自带的Json模块,只能自己造轮子:
先下载mochijson2:
https://github.com/mochi/mochiweb/blob/master/src/mochijson2.erl
用erlc编译
然后,上代码:
get_json_data() ->
...
分类:
Web程序 时间:
2014-06-10 06:46:21
阅读次数:
309