上一页 1 ··· 15 16 17 18 19

sql server创建临时表的两种写法和删除临时表

摘要: --创建、删除临时表 --第一种方式 create table #tmp(name varchar(255),id int) --第二种方式 select count(id) as storyNum , sum(convert(numeric(10,2),case when isnumeric(co 阅读全文
posted @ 2019-01-16 14:19 newlives 阅读(17915) 评论(1) 推荐(0) 编辑

Delphi2010分 AnsiChar(1个字节) 和WideChar(2个字节) 。D7都是AnsiChar。

摘要: Delphi2010分 AnsiChar(1个字节) 和WideChar(2个字节) 。D7都是AnsiChar。 阅读全文
posted @ 2019-01-14 15:36 newlives 阅读(516) 评论(0) 推荐(0) 编辑

格式化字符串

摘要: Format (.7, “0%”)=70%Format (1140, “$#,##0”)=$1,140Format (114, “$#,##0”)=$1,140字符意义:0 显示一数字,若此位置没有数字则补 0# 显示一数字, 若此位置没有数字则不显示% 数字乘以 100 并在右边加上”%”号 字符 阅读全文
posted @ 2019-01-11 15:12 newlives 阅读(100) 评论(0) 推荐(0) 编辑

在dbgrideh中允许选择多行,如何知道哪些行被选中

摘要: 是个BOOKMARK类型的属性。 SelectedRows: TBookmarkList procedure TForm1.Button1Click(Sender: TObject); var i, j: Integer; s: string; begin if DBGrid1.SelectedRo 阅读全文
posted @ 2019-01-09 11:18 newlives 阅读(815) 评论(0) 推荐(0) 编辑

用2个DATETIMEPICKER分别输入时间和日期,再合并成一个DATETIME类型

摘要: DtpDate为日期的,DtpTime为时间的 StrToDateTime(FormatDateTime('yyyy-MM-dd', DtpDate.Date) + ' ' + TimeToStr(DtpTime.Time)); 阅读全文
posted @ 2019-01-04 09:49 newlives 阅读(330) 评论(0) 推荐(0) 编辑

cxSplitter.HotZone 怎么给分隔条增加值

该文被密码保护。 阅读全文
posted @ 2018-12-23 14:47 newlives 阅读(0) 评论(0) 推荐(0) 编辑

DEV获取GridControl当前行

摘要: //直接通过gridView获取当前行dr=this.gridView1.GetDataRow(this.gridView1.FocusedRowHandle);//通过DataSet获取数据,需要转换行标dr = ds.Tables[0].Rows[this.gridView1.ViewRowHa 阅读全文
posted @ 2018-12-03 16:25 newlives 阅读(3067) 评论(0) 推荐(0) 编辑

C#的构造函数和析构函数

摘要: C#的构造函数和析构函数 阅读全文
posted @ 2018-11-19 21:06 newlives 阅读(2) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19