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

| |
[borland eco 技术]ECO数据源使用REPEATER控件出错问题 软件技术
吕向阳 发表于 2007/1/22 18:51:41 |
<%@ Page language="c#" Debug="true" Codebehind="fdisptype.pas" AutoEventWireup="false" Inherits="fdisptype.disptype" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <head> <title></title> </head> <body> <form runat="server"> <table style="LEFT: 166px; WIDTH: 497px; POSITION: absolute; TOP: 126px; HEIGHT: 244px" cellspacing="1" cellpaddi |
|
[borland eco 技术]fckeditor在asp.net(delphi.net)中使用 软件技术
吕向阳 发表于 2007/1/20 19:23:24 |
心得:
必须在页面的ONLOAD事件中加入两句话,动态地设置图片的路径,否则将不正确
Session.add('FCKeditor:UserFilesPath', '/myfirsteco/userfiles/'); FCKeditor1.BasePath := Request.ApplicationPath + '/FCKEditor/';
当然这里的MYFIRSTECO是项目文件夹,USERFILES是上传文件夹,费时两小时
安装:
针对于ASP.NET开发者来说,你有两种选择:
1. 只使用FCKeditor,下载删除 |
| |
[borland eco 技术]在ECO中使用备注字段 或NVARCHAR 软件技术
吕向阳 发表于 2007/1/20 11:00:39 |
在UML设计中加入:
1) Create the attribute with the type String 2) Set the persistence mapper to StringAsMemo
在ECOSPACE中改变属性:
Now in the app (which is db dependant)
1) On the PersistenceMapper in my app I expand the SqlDatabaseConfig property 2) Click the [...] editor on the PersistenceMappers property 3) Click Add 4) Name = StringAsMemo 5) Mapper = Borland.Eco.Persistence.SqlServer.SqlClient.StringAsText
========================= |
|
[borland eco 技术]eco中整表删除代码 软件技术
吕向阳 发表于 2006/11/24 16:31:45 |
此为正确的代码
var list1:ielementcollection;
begin
...
list1 := ehfx.element.GetAsCollection; for I := List1.Count - 1 downto 0 do begin afx := fxbb(list1.item[i].asobject); if assigned(afx) then afx.AsIObject.Delete; end;
fecospace.UpdateDatabase; DataBind;
不能用iobjectlist进行操作,原来代码如下不能正常操作
var list1:iobje |
|
|