- 博客(35)
- 资源 (9)
- 收藏
- 关注
原创 Oracle 按照指定顺序排列方法
select t.*from tb_user t --排序顺序by id 3 1 4 2 5select id, name from tb_user where id in ('1', '2', '3', '4','5') order by (case id when '3' then 'A'
2011-11-14 23:22:59 1258
原创 学习oracle 创建db和创建用户
1. 学习oracle 创建db和创建用户 (1)oracle 创建db方法:开始-->程序-->Oracle - Oracle Db10g_houme1-->配置和 移植工具-->Database Configuration Assi
2011-08-14 23:28:18 751
原创 java path classpath复习和移植netbeans的code到cmd下运行
1.复习java path、classpath环境设置和作用 (1)JAVA_HOME:指明JDK安装路径,就是安装时所选择的路径D:\Program Files\Java\jdk1.7.0 (2)path: %JAVA_HO
2011-08-14 23:26:11 870
原创 sql
select a.year, (select sum(fee) from test b where b.year from test a create table test( year varchar(8), fee numb
2011-08-10 09:24:15 336
原创 4
package com.xingzhong.ore;public class Lot { private String lotId; private Batch batchId; public Lot() { super(); // TODO Auto-generated c
2011-07-12 21:51:05 413
原创 3
package com.xingzhong.ore;import java.awt.Color;import java.awt.event.*;import javax.swing.ButtonGroup;import javax.swing.JButton;import jav
2011-07-12 21:50:38 425
原创 2
package com.xingzhong.ore;import java.util.ArrayList;public class Glass { private String glassId; private String grade; private Batch batch;
2011-07-12 21:50:07 382
原创 1
package com.xingzhong.ore;public class Batch { private String batchID; private int batchSize; public Batch(String batchID, int batchSize) {
2011-07-12 21:49:32 438
转载 JTable是Swing编程中很常用的控件,这里总结了一些常用方法以备查阅.
JTable是Swing编程中很常用的控件,这里总结了一些常用方法以备查阅. 一.创建表格控件的各种方式:1) 调用无参构造函数.JTable table = new JTable();2) 以表头和表数据创建表格.Object[][] cellData = {{"row1-
2011-07-12 12:19:39 619
原创 递归sample
package com.java.develep.four;public class MethodDemo06 { public static void main(String[] args) { // TODO Auto-generated method
2011-07-03 15:12:27 367
原创 冒泡
package com.java.develep.four;public class ArrayDemo06 { /** * @param args */ public static void main(String[] args) { // TODO
2011-07-03 11:49:03 368
原创 求最小的数和最大的数sample
package com.java.develep.four;public class ArrayDemo05 { /** * @param args */ public static void main(String[] args) { // TODO
2011-07-03 10:35:44 443
原创 oracle 报告
一、table1、说明:创建数据库 语法:create table table_name( Column_name1 datatype [null | not null], Column_name2 datatype [null | not null],
2011-06-06 23:34:00 586
原创 oracle 报告
一、table1、说明:创建数据库 语法:create table table_name( Column_name1 datatype [null | not null], Column_name2 datatype [null | not null],
2011-06-06 23:33:00 701
原创 oracle table
create table product( Product_id varchar2(10) not null, Product_name varchar2(20), ProductPrice number(8,2), Quantity number(10),
2011-06-06 23:29:00 421
原创 oracle table
create table product( Product_id varchar2(10) not null, Product_name varchar2(20), ProductPrice number(8,2), Quantity number(10),
2011-06-06 23:29:00 449
原创 oracle table
create table product( Product_id varchar2(10) not null, Product_name varchar2(20), ProductPrice number(8,2), Quantity number(10),
2011-06-06 23:29:00 416
原创 oracle table
create table product( Product_id varchar2(10) not null, Product_name varchar2(20), ProductPrice number(8,2), Quantity number(10),
2011-06-06 23:29:00 338
原创 oracle table
create table product( Product_id varchar2(10) not null, Product_name varchar2(20), ProductPrice number(8,2), Quantity number(10),
2011-06-06 23:29:00 405
原创 oracle table
create table product( Product_id varchar2(10) not null, Product_name varchar2(20), ProductPrice number(8,2), Quantity number(10),
2011-06-06 23:29:00 329
原创 oracle table
create table product( Product_id varchar2(10) not null, Product_name varchar2(20), ProductPrice number(8,2), Quantity number(10),
2011-06-06 23:29:00 321
原创 oracle table
create table product( Product_id varchar2(10) not null, Product_name varchar2(20), ProductPrice number(8,2), Quantity number(10),
2011-06-06 23:29:00 311
原创 oracle table
create table product( Product_id varchar2(10) not null, Product_name varchar2(20), ProductPrice number(8,2), Quantity number(10),
2011-06-06 23:29:00 397
原创 Chart FX1.0
<br />using System;<br />using System.Collections;<br />using System.Configuration;<br />using System.Data;<br />using System.Linq;<br />using System.Web;<br />using System.Web.Security;<br />using System.Web.UI;<br />using System.Web.UI.HtmlControls;<br /
2011-04-11 09:25:00 1280
原创 chart
<br />using System;<br />using System.Collections;<br />using System.Configuration;<br />using System.Data;<br />using System.Linq;<br />using System.Web;<br />using System.Web.Security;<br />using System.Web.UI;<br />using System.Web.UI.HtmlControls;<br /
2011-04-07 11:37:00 910
原创 自己写的距离2010农历年倒计时
<br /><%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><br /><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br /><html xmlns="http://w
2010-12-06 20:48:00 545
转载 蓝屏死机代码说明集
<br />使用windows出现蓝色屏幕是经常的事,而且每每因为不清楚错误的来源而频繁重新安装系统,劳神费时。下列收集了一些windows死机密码,供大家参考。 <br /> 数 值 叙 述 <br /> 0 0x0000 作业完成。 <br /> 1 0x0001 不正确的函数。 <br /> 2 0x0002 系统找不到指定的档案。 <br /> 3 0x0003 系统找不到指定的路径。 <br /> 4 0x0004 系统无法开启档案。 <br /> 5 0x0005 拒绝存取。 <b
2010-10-27 22:58:00 1111
转载 asp.net 防止重复提交
<br />OnClientClick="this.disabled=true;this.form.submit();" UseSubmitBehavior="False"<br />在按钮属性中加入这段代码
2010-10-20 23:09:00 520
原创 Enum转换成DataTable
<br />public static DataTable GetStatus(Type type) { <br /> DataTable dt = new DataTable(); <br /> dt.Columns.Add("Value"); <br /> dt.Columns.Add("Key"); <br /> foreach (string str in Enum.GetNames(type)) { <br />
2010-10-20 23:04:00 819
转载 c# 获取字符串中的数字
<br />/// <summary><br /> /// 获取字符串中的数字<br /> /// </summary><br /> /// <param name="str">字符串</param><br /> /// <returns>数字</returns><br /> public static decimal GetNumber(string str)<br /> {<br /> decimal result = 0;<br /> if (str != null && str
2010-10-20 22:58:00 739
转载 DataTable 的数据写入到 Excel中
using System;<br />using System.Data;<br />using System.Windows.Forms;// 添加引用->Com->Microsoft Excel 12.0 Ojbect Library<br />using Excel = Microsoft.Office.Interop.Excel;<br />using System.Reflection;<br />namespace Test<br />{<br /> public partial clas
2010-10-20 22:57:00 1086
转载 c#常用函数
1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 int 日=currentTime.Day; 1.5 取当前时 int 时=currentTime.Hour; 1.6 取当前分 in
2010-10-20 22:47:00 517
转载 c#常用函数
1、DateTime 数字型 <br />System.DateTime currentTime=new System.DateTime(); <br />1.1 取当前年月日时分秒 <br />currentTime=System.DateTime.Now; <br />1.2 取当前年 <br />int 年=currentTime.Year; <br />1.3 取当前月 <br />int 月=currentTime.Month; <br />1.4 取当前日 <br />int 日=current
2010-10-20 22:14:00 524
原创 2007.6.30日记
1。JAVA属性(1)跨平台性 (2)代码开放性2。什么是类?指具有同共性属性的事物,叫做类3。什么是对象?在JAVA语言里一切事物都是对象。4。this指向当前类的属性。5。 类的创建[修饰符] class 类名{}
2007-06-30 23:42:00 740
JAVA程序员必读JAVA程序员必读JAVA程序员必读JAVA程序员必读
2010-07-04
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人