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


«August 2025»
12
3456789
10111213141516
17181920212223
24252627282930
31


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

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

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

 

 


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


我的分类(专题)

日志更新

最新评论

留言板

链接

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




[borland eco 技术]有关DataGrid中进行输入数据和自动计算的问题
软件技术

吕向阳 发表于 2008/1/14 11:58:26

datagrid中当我们处理键盘离开当前单元格后,进行相应的计算时,网上资料如烟,却找不到什么相关的解说,经过查阅,解决案如下, 我的环境上bds2006,delphi.net   Self.DataGridTextBoxColumn2.Alignment := System.Windows.Forms.HorizontalAlignment.Right;
  Self.DataGridTextBoxColumn2.Format := '';
  Self.DataGridTextBoxColumn2.FormatInfo := nil;
  Self.DataGridTextBoxColumn2.HeaderText := '数量';
  Self.DataGridTextBoxColumn2.MappingName := 'quantity';
  Self.DataGridTextBoxColumn2.Width := 50;


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


[borland eco 技术]css 列表框
软件技术

吕向阳 发表于 2007/10/14 13:03:33

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
@charset "utf-8";
/* CSS Document */ .page{border:solid 0px 0px 0px 0px #44AA00;line-height:20px;}
.page_r2{border:solid 1px #0092DD;width:200;}
.page_r_h62{background:#5BB9E9; border-bottom:solid 1px #0092DD; color:#FFF;line-he


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


[borland eco 技术]IsPostBack的问题
软件技术

吕向阳 发表于 2007/10/14 10:04:52

procedure teditnewspage.Page_Load(sender: System.object; e: System.EventArgs);
var
  Id: string;
  listitem1: listitem;
  user1: tleftpanel;
begin    ...
  Id := Request.Params['RootId'];

  if Assigned(Id) and (Id <> '') then
    anews := objectforid(id).AsObject as news;     listitem1 := dropdownlist1.Items.FindByText(anews.newstype.mc);
   

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


[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

阅读全文(1412) | 回复(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

阅读全文(1724) | 回复(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

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


« 1 2 3 4 5 6 7 8 9 10 »



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

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