码迷,mamicode.com
首页 >  
搜索关键字:values    ( 8569个结果
Android专题5——学习Gallery小结
Context这是一个比较复杂的概念,有上下文,句柄,环境变量等多重含义目前理解为:指向parent的指针,比如Button btn = new Button(this),这里的this就是一个Context对象,这句代码告诉了这个btn在哪个Activityres\values\文件夹有什么作用我...
分类:移动开发   时间:2014-12-30 18:50:08    阅读次数:233
必须会的SQL语句(三)插入
1.规范一些使用插入语句的小规范 1)中文字符串前 最好 加一个N 2)列名用中括号 扩起来 像这样 [列名] 2.常规写法 Insert into tableName ( [column1] , [column2] ) values (N'中文','11ds') 3.多行一条语句插入多行 inse...
分类:数据库   时间:2014-12-30 16:33:17    阅读次数:157
Binary Tree Level Order Traversal II
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). For example: Given binary tree {3,9,20,#,#,15,7}, ...
分类:其他好文   时间:2014-12-30 15:17:01    阅读次数:160
学生管理系统的添加
学生管理系统的添加1:后台方法的实现//班级的添加的实现 public int gradeAdd(Connection con,Grade grade)throws Exception { String sql = "insert into t_grade values(n...
分类:其他好文   时间:2014-12-30 15:04:06    阅读次数:357
LeetCode:Unique Binary Search Trees II
题目描述: Given n, generate all structurally unique BST's (binary search trees) that store values 1...n. For example, Given n = 3, your program should return all 5 unique BST's shown below. 1...
分类:其他好文   时间:2014-12-30 11:49:09    阅读次数:144
SQL 自动编号处理
-- 关闭自动编号SET IDENTITY_INSERT T OFF -- 这个时候就允许插入Id值了Insert Into T (Id,Name) Values (0,'test')-- 打开自动编号SET IDENTITY_INSERT T ON-- 这个时候就允许插入Id值了Insert In...
分类:数据库   时间:2014-12-30 11:24:54    阅读次数:182
LeetCode Unique Binary Search Trees
Givenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For example,Givenn= 3, there are a total of 5 unique BST's. 1.....
分类:其他好文   时间:2014-12-29 22:57:50    阅读次数:205
[LeetCode]Binary Tree Preorder Traversal
Given a binary tree, return the preorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 return [1,2,3]. Note: Recursive soluti...
分类:其他好文   时间:2014-12-29 21:34:20    阅读次数:196
[Leetcode]Reorder List
Given a singly linked list L: L0→L1→…→Ln-1→Ln, reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→… You must do this in-place without altering the nodes' values. For example, Given {1,2,3,4}, reorder it to ...
分类:其他好文   时间:2014-12-29 21:34:09    阅读次数:242
存储过程插入100 条数据
create proc ppas declare @n intset @n=1while @n<=100begininsert into student values('11341101320'+LTRIM(@n),'Jack'+ltrim(@n),'男',22,'上海','18272986984....
分类:其他好文   时间:2014-12-29 16:42:25    阅读次数:126
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!