2009年3月9日

GridView客户端读取当前填写的textbox 进行客户端判断比较

摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %><%@ Register Src="WebUserControl.ascx" TagName="WebUserControl" TagPrefix="uc1" %><!DOCTY... 阅读全文

posted @ 2009-03-09 17:25 KenL 阅读(650) 评论(0) 推荐(0) 编辑

2009年3月6日

Che

摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="ClientCallback.aspx.cs" Inherits="ClientCallback" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/T... 阅读全文

posted @ 2009-03-06 18:04 KenL 阅读(240) 评论(0) 推荐(0) 编辑

2007年3月9日

VBS

摘要: On Error Resume Nexttemp = 0 Set wshshell = wscript.CreateObject("wscript.shell")'啓動WMI服務(沒有這個服務就不行)wshshell.run("%comspec% /c regsvr32 /s scrrun.dll"),0,Truewshshell.run("%comspec% /c sc config winmg... 阅读全文

posted @ 2007-03-09 09:10 KenL 阅读(415) 评论(0) 推荐(0) 编辑

2007年3月8日

SQL

摘要: select * from importheaderdelete from importheader where sizes is null and model is nullselect * from importdetailselect * from calendarselect * from rma_detailselect * from rma_header--select * from ... 阅读全文

posted @ 2007-03-08 14:01 KenL 阅读(146) 评论(0) 推荐(0) 编辑

Oracle

摘要: function get_emp_info return sys_refcursor; procedure get_emp_info(p_rc out sys_refcursor); procedure get_multiple_cursors(p_rc1 out sys_refcursor, p_rc2 out sys_refcursor, p_rc3 out sys_refcursor);en... 阅读全文

posted @ 2007-03-08 13:59 KenL 阅读(466) 评论(0) 推荐(0) 编辑

存取過程

摘要: SQL 存取過程-- 找出要計算薪資的員工並找出他們的基本/月結資料select @sql='select a.id,a.empno,a.sex,a.workyeardate,a.enterdate,a.leavedate,isnull(cast(dbo.fgetemporgid(a.id,'''+@edate+''') as uniqueidentifier),a.workorgid) as w... 阅读全文

posted @ 2007-03-08 09:55 KenL 阅读(293) 评论(0) 推荐(0) 编辑

2007年2月28日

那些

摘要: ETLE(Data Extraction)擷取各類型態的資料,視其需要之程度設定不同抓取之頻率。T(Data Transformation)從各個不同來源所擷取的資料,必須根據特殊規則轉換其值 。L(Data Load)將擷取、轉換及清理過之資料正確的載入資料倉儲中。 Fact Table中心資料表,包含數字量值 (Numerical Measure) 以及與維度資料表相關事實的索引鍵。 Key ... 阅读全文

posted @ 2007-02-28 08:41 KenL 阅读(168) 评论(0) 推荐(0) 编辑

2007年2月27日

圖片轉化為二進制

摘要: private void bttransform_Click(object sender, EventArgs e){ this.lbpoint.Items.Clear(); Bitmap bitmap1 = (Bitmap) this.originpicture.Image; GraphicsUnit unit1 = GraphicsUnit.Pixel; RectangleF ef1 = bi... 阅读全文

posted @ 2007-02-27 14:45 KenL 阅读(747) 评论(1) 推荐(0) 编辑

VB

摘要: 1. \b :与单词的边界匹配,即单词与空格之间的位置。例如,"er\b" 与"never"中的"er"匹配,但是不匹配"verb"中的"er"。 \B :与非单词边界匹配。"ea*r\B"与"never early"中的"ear"匹配。 \d :与一个数字字符匹配。等价于[0-9]。 \D :与非数字的字符匹配。等价于[^0-9]。 \f :与分页符匹配。 \n :与换行符字符匹配。 \r :与... 阅读全文

posted @ 2007-02-27 14:40 KenL 阅读(446) 评论(0) 推荐(0) 编辑

Print SN

摘要: FileInfo fi=new FileInfo (Application.StartupPath +"\\label.prn");using(StreamWriter sw = fi.CreateText()){sw.WriteLine("^XA"); sw.WriteLine("^LH0,0"); sw.WriteLine("^FO170,090^A0N,110,110^FDINNOLUX D... 阅读全文

posted @ 2007-02-27 14:10 KenL 阅读(278) 评论(0) 推荐(0) 编辑

导航