04 2007 档案

摘要:Dim tmpXml As New Xml.XmlDocument Dim tmpNode As Xml.XmlNode Dim subNode As Xml.XmlNode Dim g_XmlDoc As New Xml.XmlDocument '初始化XML tmpXml.LoadXml("") '添加用户信息... 阅读全文
posted @ 2007-04-30 15:26 yongwnet 阅读(324) 评论(0) 推荐(0)
摘要:Imports System.IOImports System.NetPublic Class Form1Class Form1 Private Sub Button1_Click()Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ... 阅读全文
posted @ 2007-04-25 21:16 yongwnet 阅读(273) 评论(0) 推荐(0)
摘要:private void CopyWithProgress(int status) { // Display the ProgressBar control. //pBar1.Visible = true; // Set Minimum to 1 to represent the first file being co... 阅读全文
posted @ 2007-04-25 21:15 yongwnet 阅读(523) 评论(0) 推荐(0)
摘要:HTML: 省(国家): 国内填写省,国外填写国家名 城市: ... 阅读全文
posted @ 2007-04-18 20:41 yongwnet 阅读(692) 评论(0) 推荐(0)
摘要:精简版大多精简了iis服务,需要安装iis服务请看下面: 0、在XP原版光盘搜索,或找网友传给你。 ... 阅读全文
posted @ 2007-04-17 20:37 yongwnet 阅读(823) 评论(0) 推荐(0)
摘要:1.关闭“控件中心”2.打开“IBM DB2”--“命令行工具”--“命令窗口” exp1:db2 "restore database oldDB_Name from d:\backup taken at 20070417100550 into newDB_Name"其中,数据库备份地址:D:\backup\oldDB_Name.0\DB2\NODE0000\CATN0000\20070417\1... 阅读全文
posted @ 2007-04-17 11:04 yongwnet 阅读(695) 评论(0) 推荐(0)
摘要://建立数据库DB2_GCB CREATE DATABASE DB2_GCB ON G: ALIAS DB2_GCB USING CODESET GBK TERRITORY CN COLLATE USING SYSTEM DFT_EXTENT_SZ 32 //连接数据库 connect to sample1 user db2admin using 8301206 //建立别名 create ali... 阅读全文
posted @ 2007-04-17 10:38 yongwnet 阅读(291) 评论(0) 推荐(0)
摘要:1. 查看本地节点目录 命令窗口中输入:db2 list node directory 2. 编目一个TCP/IP节点 命令窗口:db2 catalog tcpip node remote server ostype 3. 取消节点编目 db2 uncatalog node 4. 查看系统数据库目录 db2 list database directory 5. 查看本地数据库目录 ... 阅读全文
posted @ 2007-04-17 10:37 yongwnet 阅读(389) 评论(0) 推荐(0)
摘要:1、组合语句执行 BEGIN ATOMIC 表达式1 分号 空格/回车 表达式2 分号 空格/回车 END 2、应该限制访问权限的表(应该撤销这些表PUBLIC SELECT访问权) SYSCAT.DBAUTH SYSCAT.TABAUTH SYSCAT.PACKAGEAUTH SYSCAT.INDEXAUTH SYSCAT.COLAUTH SYSCAT.PASSTHRUAUTH SYSCAT... 阅读全文
posted @ 2007-04-17 10:36 yongwnet 阅读(1321) 评论(0) 推荐(0)
摘要:DB2常用的命令 1.启动数据库 db2start2.停止数据库 db2stop3.连接数据库 db2 connect to oyd user db2 using pwd (注:oyd为数据库名)4.读数据库管理程序配置 db2 get dbm cfg5.写数据库管理程序配置 db2 update dbm cfg using 参数名 参数值6.读数据库的配置 d... 阅读全文
posted @ 2007-04-17 10:34 yongwnet 阅读(373) 评论(0) 推荐(0)
摘要:db2cmd db2 catalog tcpip node node142 remote 192.0.3.33 server 50000db2 catalog db dms_cs as dms_cs at node node142 db2 connect to dms_cs user db2admin using admindb2//Client Tool:Rapid SQL 阅读全文
posted @ 2007-04-16 20:08 yongwnet 阅读(379) 评论(0) 推荐(0)
摘要:Access、Sql Server:select Top 10 * from myTableMySql:select * from myTable limit 10DB2:select * from myTable fetch first 10 rows only ORACLE:select * from myTable where rownum <= 10 SQLITE:select * ... 阅读全文
posted @ 2007-04-16 20:00 yongwnet 阅读(201) 评论(0) 推荐(0)
摘要:CODE: 1Imports System.Data 2Imports System.Data.OleDb 3 4Public Class Form1Class Form1 5 6 Private Sub Button1_Click()Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) ... 阅读全文
posted @ 2007-04-16 18:19 yongwnet 阅读(220) 评论(0) 推荐(0)
摘要:Dim table As DataTable = New DataTable("jhreport") Dim column As DataColumn column = New DataColumn() column.ColumnName = "id" table.Columns.Add(column) ... 阅读全文
posted @ 2007-04-12 12:58 yongwnet 阅读(262) 评论(0) 推荐(0)
摘要:cmd.CommandText = String.Format("select sum(INV_QUANTITY) as sl from DMS_INVENTORY_TEMP " + _ " where ('{0}'=org_num||customer_num) and INV_date='{1}' ", search, rqsj) // search=org_num+cus... 阅读全文
posted @ 2007-04-12 12:44 yongwnet 阅读(285) 评论(0) 推荐(0)
摘要:1.Code: 1using System; 2using System.Collections.Generic; 3using System.ComponentModel; 4using System.Data; 5using System.Drawing; 6using System.Text; 7using System.Windows.Forms; 8 9using ZedGraph;1... 阅读全文
posted @ 2007-04-04 19:41 yongwnet 阅读(487) 评论(1) 推荐(0)
摘要:1.code: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using ZedGraph;namespace bar{ p... 阅读全文
posted @ 2007-04-04 19:36 yongwnet 阅读(266) 评论(0) 推荐(0)
摘要:1.Code : 1Imports ZedGraph 2Imports MySql.Data 3Imports MySql.Data.MySqlClient 4Imports System.Data 5 6Public Class Form1Class Form1 7 8 Private Sub Form1_Load()Sub Form1_Load(ByVal sender As Syst... 阅读全文
posted @ 2007-04-04 19:32 yongwnet 阅读(196) 评论(0) 推荐(0)