上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: 1、通过IP取MAC地址usesWinSock;Function sendarp(ipaddr:ulong;temp:dword;ulmacaddr:pointer;ulmacaddrleng:pointer) : DWord; StdCall; External 'Iphlpapi.dll' Name 'SendARP';procedure TForm1.Button1Click(Sender:... 阅读全文
posted @ 2010-10-09 09:47 毛小毛 阅读(5440) 评论(2) 推荐(0) 编辑
摘要: create table tb(id int, value varchar(10)) insert into tb values(1, 'aa') insert into tb values(1, 'bb') insert into tb values(2, 'aaa') insert into tb values(2, 'bbb') insert into tb values(2, 'ccc') go create function [dbo].[f_str](@id int) returns nvarchar(1000) as begin declare @str nvarchar(100 阅读全文
posted @ 2010-10-06 18:27 毛小毛 阅读(955) 评论(0) 推荐(0) 编辑
摘要: 数据导出: 1 将数据库TEST完全导出,用户名system 密码manager 导出到D:\daochu.dmp中 exp system/manager@TEST file=d:\daochu.dmp full=y exp sz0/sz0@zhygk file=e:\nulldb.dmp owner=(sz0) exp sz/sz@jessica file=c:\a.dmp owner=... 阅读全文
posted @ 2010-02-26 15:10 毛小毛 阅读(238) 评论(0) 推荐(0) 编辑
摘要: GetHDSerialNumber在通过快捷方式点进去会取不到数据。屏蔽红色段即可function tIceLock.LoadKeyFile : Integer;var r : rIceRecord; pa : pIceArray; f : file of aIceArray;begin IsRegistered := false; AssignFile(f,fKeyFileName); {$I-... 阅读全文
posted @ 2009-09-25 09:11 毛小毛 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 1.//弹出对话框.点击转向指定页面 Response.Write(" <script>window.alert('该会员没有提交申请,请重新提交!')</script>"); Response.Write(" <script>window.location='http://www.51aspx.com/bizpulic/upmeb.aspx' </scr... 阅读全文
posted @ 2009-09-14 17:01 毛小毛 阅读(261) 评论(0) 推荐(0) 编辑
摘要: wwriched.pas找到如下方法,注释如下语句,直接返回truefunction TwwCustomRichEdit.CanCut: boolean;begin //result:= seltext<>''; Mike remove; result := true;end; 阅读全文
posted @ 2009-08-29 10:57 毛小毛 阅读(286) 评论(0) 推荐(0) 编辑
摘要: FASTREPORT中MEMO的wordwrap设为True,使文本自动换行,但当最后一个字为中文时总是出现乱码。怎样才能使最后的字为中文且剩下文本区不足两格时自动换行,避免出现乱码?主要改fr_class.pas中的wrapline过程,其中有一段:else if s[last] = thenOutLine(Copy(s, beg, last - beg)) elseOutLine(Copy(s... 阅读全文
posted @ 2009-08-29 10:51 毛小毛 阅读(4143) 评论(0) 推荐(0) 编辑
摘要: protected void UltraWebGrid1_InitializeRow(object sender, RowEventArgs e) { if (!e.Row.Cells.FromKey("SENDSTATUS").Text.Equals("编辑")) { (((UltraWebGrid1.Bands[0].Columns[0] as TemplatedColumn).CellIte... 阅读全文
posted @ 2009-08-24 08:58 毛小毛 阅读(510) 评论(1) 推荐(1) 编辑
摘要: 最近一项目,要写成一个From程序,并且有关数据操作都是和Oracle打交道。。。这可累了,大家都知道,本机不装Oracle客户端,本机的程序是不能访问Oracle数据库的。可是一个客户端最少也得八十多兆。太大了。再多,程序部署也不方便。在网上找了找还真有解决办法。狂喜.....好景不长啊。。。最后证实都不太好用。。。最后终于在网络和同事们的共同努力下。终于测试成功。。方法如下:(环境:Vs200... 阅读全文
posted @ 2009-08-17 16:12 毛小毛 阅读(4137) 评论(0) 推荐(1) 编辑
摘要: 方法一:增大闪回恢复区SQL> show parameter db_recovery_file_dest_sizeNAME TYPE VALUE------------------------------------ ----------- ------------------------------db_recovery_file_dest_size big integer 2GSQL&g... 阅读全文
posted @ 2009-07-03 13:00 毛小毛 阅读(1819) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页