- 博客(35)
- 资源 (5)
- 收藏
- 关注
原创 在ibatis中写的一段sql脚本
sel indexId,item,value01,value02,value03 from( sel 7 indexId ,新增通话用户三比 item ,a.value03 value01 ,b.value03 value02 ,case when b.value03 = 0.00 then 0.00 else a.value03-b.value03
2008-10-16 16:34:00
625
原创 在jsp页面中用到的一段js觉得非常好
var brandArr = new Array();//一数组//逻辑标签?? //遍历该集合 brandArr[] = new Array("", "","");//指定数组的各个值 function changeAsp(asp){ m_obj1=document.forms[0].cmccBrandCode; m_obj1.length = 0; if(asp!="" &
2008-10-16 16:27:00
493
原创 ASP.NET web.config
<!-- 注意: 除了手动编辑此文件以外,您还可以使用 Web 管理工具来配置应用程序的设置。可以使用 Visual Studio 中的 “网站”->“Asp.Net 配置”选项。 设置和注释的完整列表在 machine.config.comments 中,该文件通常位于 /Windows/Microsoft.Net/Fra
2008-06-16 23:32:00
723
1
原创 SqlHelper
//===============================================================================// Microsoft Data Access Application Block for .NET// http://msdn.microsoft.com/library/en-us/dnbda/html/daab-rm.asp///
2008-06-02 13:41:00
398
原创 光棒效果(c#)
=============================cs文件=============================using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using
2008-05-30 16:25:00
663
原创 ListBox >>ListBox
==========================Default3.aspx.cs==========================using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;
2008-05-30 15:47:00
635
原创 Cascade Province and cities
================================under ASP.NET App_Code SqlHelperAuthour:Fanji Kong================================using System;using System.Data;using System.Configuration;using System.We
2008-05-29 11:56:00
382
原创 May 28 2008(2)
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml" > 最原始的ASPX填充表从数据库取值 SqlConnection con; SqlDataAdapter sda; //HtmlTable au_table;
2008-05-28 22:32:00
329
原创 May 28 2008
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml" > 无标题页 int currentpage = 0; int maxpage=0; public SqlConnection getCon() {
2008-05-28 21:44:00
330
原创 SSH
05月16日(星期五) Struts+Spring+Hibernate steps of developing.Step1:To produce new a Web Project.Step2:To add Hibernate Librarys to the current project .Step3:To add SpringLibararys to the c
2008-05-28 09:52:00
403
原创 My OA T_SQL
03月14日(星期五) if exists (select * from sysdatabases where name=myoa)drop database myoagocreate database myoause myoagoif exists (select * from sysobjects where name=T_subjects )/*公告栏目*/dro
2008-05-28 09:51:00
743
原创 chart and pie
02月20日(星期三) under stuts1.1 JSP Display.jsp================================This is my JSP page. " width=500 height=300 border=0 usemap="#map0"> Login.jsp================================Th
2008-05-28 09:50:00
362
原创 C# Code Summary
11月16日(星期五) using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.IO;namespace prjCodeCount{/// /// For
2008-05-28 09:43:00
664
原创 C# Resource Management (资源管理器)
11月16日(星期五) using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.IO;namespace
2008-05-28 09:40:00
1066
原创 C# Main point of a NotePad
11月16日(星期五) using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.IO;namespace prjNotePad{/// /// Form1 的
2008-05-28 09:38:00
469
原创 C# Mines(布雷)
11月16日(星期五) using System.Collections;using System.IO;using System;namespace com.Mines{class SearchingMines{public ArrayList list = new ArrayList();public int[,] mines = new int[10, 10];static void
2008-05-28 09:36:00
370
原创 SQL Server Attention
11月16日(星期五) ResultSet can not re-read row data for column- - 今天在写程序的时候发现了一个很奇怪的问题“ResultSet can not re-read row data for column”,用google一搜,原来是微软公司的驱动的兼容性不太好。有热心人总结了微软驱动的缺点:(1)如果采用jdbc-odbc驱
2008-05-28 09:34:00
364
原创 Thread2(C#)
11月01日(星期四)using System;using System.Collections.Generic;using System.Text;using System.Threading;namespace ThreadTest{class Program{static void Main(string[] args){Thread.CurrentThread.Name = "主线程"
2008-05-28 09:32:00
321
原创 Thread(C#)
11月01日(星期四) using System;using System.Collections.Generic;using System.Text;using System.Threading;namespace RailWayStation{class Program{static void Main(string[] args){Station NewYorkCity = new
2008-05-28 09:29:00
395
原创 Timer(C#)
11月01日(星期四) using System;using System.Collections.Generic;using System.Text;using System.Threading;namespace TimerPRJ{class Timer {static void Main(string[] args){Mytimer t = new Mytimer();//实例化
2008-05-28 09:28:00
429
原创 shopping cart made by JSP
09月03日(星期一) ============T-SQL============if exists ( select * from sysdatabases where name = shop)drop database shopgocreate database shopuse shopgoif exists(select * from sysobjects w
2008-05-28 09:27:00
415
原创 java script
09月01日(星期六) this example is so fit for the client check ,and perfect instance for normal java-script learning ==============================================="http://www.w3.org/TR/html4/loose.d
2008-05-28 09:24:00
489
原创 chat room
08月31日(星期五) 主要用到技术servlet==================control servlet===============================package chatroom;import javax.servlet.*;import javax.servlet.http.*;import java.io.*;import java.
2008-05-28 09:21:00
667
原创 Servlet
08月28日(星期二) Login Servlet ===================================Login Validate===================================package k.servlet;import javax.servlet.*;import javax.servlet.http.*;import
2008-05-28 09:20:00
289
原创 sql primary key procedure
08月20日(星期一) --------主键生成器-----------制作人:孔凡吉--制作日期:2007年8月14日 ----------------------------判断是否存在这个数据库表if exists(select name from sysobjects where name=primarykey_table)drop table primaryk
2008-05-28 09:19:00
455
原创 sql trigger
08月14日(星期二) create database mydbgouse mydbgodrop table stuinfodrop table stumarksif exists(select * from sysobjects where name =bank)drop table bankgocreate table bank(cardid varchar(20) not n
2008-05-28 09:17:00
695
原创 SQL server#1
08月07日(星期二) =============================数据库建立=============================create database mydbon primary(name=mydb,filename=D:projectmydb_mdf.mdf,size=10mb,maxsize=200mb,filegrowth=10%)
2008-05-28 09:15:00
339
原创 Java Swing JTable
07月19日(星期四) M V C principleJava Swing JTable Usefull=======================Object Class User=======================/*** Title: ** Description: ** Copyright: Copyright (c) 2007** Company:
2008-05-28 09:13:00
363
原创 odbc
07月19日(星期四) DataBase Connection Java==================================import java.sql.*;/*** Title: ** Description: ** Copyright: Copyright (c) 2007** Company: ** @author not attributable* @
2008-05-28 09:12:00
298
原创 July 19 2007
07月19日(星期四) Todays topic is about HTML time display ,created a javascript==================================nonamefunction showTime(){var today=new Date();var year=today.getYear();var month=to
2008-05-28 09:11:00
355
原创 July 18 2007
07月18日(星期三) Today i had already done last year exam on computer .============================here is the DBoperator============================import java.sql.*;import java.io.FileReader;i
2008-05-28 09:09:00
325
原创 July 17 2007
07月17日(星期二) HTML========================marquee标记(图片滚动方法)========================无标题文档 ====================================checkbox and select 用法(复选框)=============================
2008-05-28 09:04:00
473
原创 July 16 2007
07月16日(星期一) Java Swing ODBCT-Sql=======================Todaygoal is achieve Login UserName is vaildate adn connecting withDateBase (sql ) by ODBC=======================UserLoginFrm Sour
2008-05-28 09:01:00
413
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人