本站首页    管理页面    写新日志    退出


«September 2025»
123456
78910111213
14151617181920
21222324252627
282930


公告
================

注会练习软件
http://www.cpasoft.com.cn
我的注会软件官网

http://blog.163.com/abc7105@126/

 

 


哈哈,热爱快“过气”的DELPHI


我的分类(专题)

日志更新

最新评论

留言板

链接

Blog信息
blog名称:注册会计师(注会)练习软件
日志总数:398
评论数量:116
留言数量:27
访问次数:3272177
建立时间:2005年6月6日




[borland eco 技术]experssionhandle数据源,在datagrid中利用checkbox显示并编辑boolean类型数据
软件技术

吕向阳 发表于 2007/10/8 17:21:08

经过艰苦的探索,今天下午还是做出来了,贴出相关代码 环境为expressionhandle名为ehperson,是person类的全部实例 ,即express表达式person.allinstances 1.aspx文件    <ASP:DataGrid id="DataGrid1" runat="server" width="569px" height="244px" bordercolor="White" borderstyle="Ridge" borderwidth="2px" cellspacing="1" backcolor="White" cellpadding="3" gridlines="None" datasource="<%# ehperson %>" autogeneratecolumns="False" datakeyfield="ExternalId">
  <FooterStyle forecolor="Black" back


阅读全文(1434) | 回复(0) | 编辑 | 精华 | 删除
 


[borland eco 技术]返回eco列表集的几种方法
软件技术

吕向阳 发表于 2007/10/2 14:14:28

IObjectList customers = vfs.CreateTypedObjectList(typeof(Customer));
foreach (Customer currentCustomer in someOtherList)
  customers.Add(currentCustomer);
//If a customer has a single contract
IObjectList result = OclPs.Execute(customers, "self.contract");
//If a customer has many contracts
IObjectList result = OclPs.Execute(customers, "self.contracts");
//If the association is one way from contract to customer
IObjectList result = OclPs.E


阅读全文(1736) | 回复(0) | 编辑 | 精华 | 删除
 


[borland eco 技术]arraylist与web 控件的绑定
软件技术

吕向阳 发表于 2007/10/2 14:06:05

procedure TfrmPayment.LoadPayments;
var 
  i, j: integer; 
  aPayment: TPayment;
begin 
  FBalance := 150; 
  FBondBalance := 250;
  for i := 0 to 4 do 
  begin 
    for j := 0 to 2 do 
    begin 
      aPayment := TPayment.Create; 
     aP

阅读全文(1342) | 回复(0) | 编辑 | 精华 | 删除
 


[borland eco 技术]variablehandle与oclvariabl搭配使用的注意要点
软件技术

吕向阳 发表于 2007/10/1 10:34:17

在expressionhandle和oclpshandle 中要使用一些非字符串变量时,我们可利用variablehandle与oclvariabl生成OCL变量方法来运用   1.加入一个variablehandlE元件,设置其ecospace为定义好的ecospace,设置 staticvaluetypename为要引用的变量的类型   2.加入一个oclvariable元件,点元件的collection属性进入编辑,追加一条,并设置elementhandle为上步中的variablehandle,并在variablename中为你要引用的变量取名,假定为vdepartment   3那么在ehpressionhandle和oclpshandle中的表达式中均可直接引用该变量:vdepartment   4.如果是在asp.net中,要引用的是我们定义好的类作为变量,则更麻烦,还在加入一个refrerencehandle,设名为rhtmp,将要引用的具体对象用rhtmp.

阅读全文(1246) | 回复(0) | 编辑 | 精华 | 删除
 


[borland eco 技术]expressionhandle表达式中使用非ocl变量
软件技术

吕向阳 发表于 2007/10/1 10:08:47

expressionhandle的expression中要使用变量,一般要用到variablehandle变量,很麻烦.如一般的字符串变量可使用以下方法解决 c#
eh.Expression =
System.String.Format("Person.allInstances->orderBy({0})', button1.Text); Delphi:
eh.Expression :=
System.String.Format('Person.allInstances->orderBy({0}),
´[button1.Text]); 其中button1.text可以是你指定的字符串变量

阅读全文(1701) | 回复(0) | 编辑 | 精华 | 删除
 


[borland eco 技术][转]我热爱的ECO在进步中
软件技术

吕向阳 发表于 2007/9/30 22:52:30

期待多時的CodeGear視窗旗艦產品RAD Studio 2007終於在各方的殷切之下現身, RAD Studio 2007是目前同級產品中唯一完美支援原生視窗和.NET框架開發的IDE. RAD Studio 2007包含了許多創新的尖端功能以幫助開發人員使用相同的技術同時開發原生32位元視窗和.NET框架2.0的應用程式, 並且在未來延伸至原生64位元視窗, 保障您過去, 現在和未來的投資. RAD Studio 2007允許您開發各種不同的應用方案,從單機,C/S, 分散式架構到ASP.NET, Web Service, AJAX. 支援的開發框架則從VCL, VCL.NET到ASP.NET. 支援的程式語言從Object Pascal, Delphi, C/C++到Delphi.NET和C#. RAD Studio 2007讓您使用一個IDE開發完成您的各種需求.


阅读全文(1366) | 回复(0) | 编辑 | 精华 | 删除
 


« 31 32 33 34 35 36 37 38 39 40 »



站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.062 second(s), page refreshed 144807436 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号