从此开发ASP.Net又多了一种选择。IntreWeb可以抛在一边乘凉了。最Easy的代码:
unit WebForm1;interfaceuses
System.Collections, System.ComponentModel,
System.Data, System.Drawing, System.Web, System.Web.SessionState,
System.Web.UI, System.Web.UI.WebControls, System.Web.UI.HtmlControls;type
TWebForm1 = class(System.Web.UI.Page)
{$REGION 'Designer Managed Code'}
strict private
procedure InitializeComponent;
procedure Button1_Click(sender: System.Object; e: System.EventArgs);
{$ENDREGION}
strict private
procedure Page_Load(sender: System.Object; e: System.EventArgs);
strict protected
Button1: System.Web.UI.WebControls.Button;
Label1: System.Web.UI.WebControls.Label;
procedure OnInit(e: EventArgs); override;
private
{ Private Declarations }
public
{ Public Declarations }
end;implementation{$REGION 'Designer Managed Code'}
/// <summary>
/// Required method for Designer support -- do not modify
/// the contents of this method with the code editor.
/// </summary>
procedure TWebForm1.InitializeComponent;
begin
Include(Self.Button1.Click, Self.Button1_Click);
Include(Self.Load, Self.Page_Load);
end;
{$ENDREGION}procedure TWebForm1.Page_Load(sender: System.Object; e: System.EventArgs);
begin
// TODO: Put user code to initialize the page here
end;procedure TWebForm1.OnInit(e: EventArgs);
begin
//
// Required for Designer support
//
InitializeComponent;
inherited OnInit(e);
end;procedure TWebForm1.Button1_Click(sender: System.Object; e: System.EventArgs);
begin
Label1.Text := 'kfjkd';
end;
end.
unit WebForm1;interfaceuses
System.Collections, System.ComponentModel,
System.Data, System.Drawing, System.Web, System.Web.SessionState,
System.Web.UI, System.Web.UI.WebControls, System.Web.UI.HtmlControls;type
TWebForm1 = class(System.Web.UI.Page)
{$REGION 'Designer Managed Code'}
strict private
procedure InitializeComponent;
procedure Button1_Click(sender: System.Object; e: System.EventArgs);
{$ENDREGION}
strict private
procedure Page_Load(sender: System.Object; e: System.EventArgs);
strict protected
Button1: System.Web.UI.WebControls.Button;
Label1: System.Web.UI.WebControls.Label;
procedure OnInit(e: EventArgs); override;
private
{ Private Declarations }
public
{ Public Declarations }
end;implementation{$REGION 'Designer Managed Code'}
/// <summary>
/// Required method for Designer support -- do not modify
/// the contents of this method with the code editor.
/// </summary>
procedure TWebForm1.InitializeComponent;
begin
Include(Self.Button1.Click, Self.Button1_Click);
Include(Self.Load, Self.Page_Load);
end;
{$ENDREGION}procedure TWebForm1.Page_Load(sender: System.Object; e: System.EventArgs);
begin
// TODO: Put user code to initialize the page here
end;procedure TWebForm1.OnInit(e: EventArgs);
begin
//
// Required for Designer support
//
InitializeComponent;
inherited OnInit(e);
end;procedure TWebForm1.Button1_Click(sender: System.Object; e: System.EventArgs);
begin
Label1.Text := 'kfjkd';
end;
end.
解决方案 »
- 请问一下,如果使用indy10.2.3的Tidmappedporttcp来开发端口映射工具,性能如何?
- radioGroup的一个小问题,大家来抢分
- 大家帮帮忙delphi除了input 语句有提示输入功能,其它还有什么样的语句类似呀??
- 与大家讨论一个是否值得使用第三方控件的问题,来者有分,分我多的是。
- 以正确安装了爱普生1600LQ3的驱动,在写字板中打印设置里由A2纸型,QReport PageSize中不能设置A2?
- ***************如何用DELPI做象CSDN左边的树形菜单?*****************
- **请问如何拦截双击窗体标题栏的消息,并处理它?**
- 请进,到德国打工要会什么?
- 想和大家交个朋友。
- 如何取得应用软件的焦点!就像汉王笔一样!
- 如何获取Bios 序列号?
- 求BDE5。1。1,请问哪能下一这个软件呀
Label1.Text := 'kfjkd';
Label1.text := 'Hello Delphi.net';来得亲切。
讨论区:Delphi(Delphi) [订阅] [返回] --------------------------------------------------------------------------------
主题:delphi 8不行,没有报表控件
作 者: toshin(斗神) 2003-12-25 01:58:21 :0 :0
[回复] [打包] [转贴]
rave也没了,什么都没了,控件死少,用起来还很不习惯。帮助文件也没写完,做的太不认真了
----
随意网
解放天空的戒令,
冰冻的黑色虚无之刃,
与我的力量 我的身体结合,
一起迈向毁灭之程,
连众神的魂魄都被击溃
E-Mail:[email protected]
将本文推荐给好友 手机短信,推荐本文给好友
主题:Re:delphi 8不行,没有报表控件
作 者: fengyu_f(.net) 2003-12-25 02:52:11 :0 :0
[回复] [打包] [转贴]
你在哪下的?楼下提供的下在地址,只有80M!
太小了吧!
【 在 toshin 的大作中提到:】
:rave也没了,什么都没了,控件死少,用起来还很不习惯。帮助文件也没写完,做的太不认真了
:......
将本文推荐给好友 手机短信,推荐本文给好友
主题:Re:delphi 8不行,没有报表控件
作 者: soaringbird() 2003-12-25 08:13:16 :0 :0
[回复] [打包] [转贴]
【 在 fengyu_f 的大作中提到:】
:你在哪下的?楼下提供的下在地址,只有80M! 解开是250M,只有Delphi
将本文推荐给好友 手机短信,推荐本文给好友
主题:Re:delphi 8不行,没有报表控件
作 者: soaringbird() 2003-12-25 08:17:14 :0 :0
[回复] [打包] [转贴]
【 在 toshin 的大作中提到:】
:rave也没了,什么都没了,控件死少,用起来还很不习惯。帮助文件也没写完,做的太不认真了
:......
第一感觉是有点失望
将本文推荐给好友 手机短信,推荐本文给好友
主题:Re:delphi 8不行,没有报表控件
作 者: soaringbird() 2003-12-25 08:21:05 :0 :0
[回复] [打包] [转贴]
【 在 toshin 的大作中提到:】
你注意了没有,安装后它的目录是BDS\2.0,而C#B是BDS\1.0,你说这是什么意思?难道C#B以后没了?
将本文推荐给好友 手机短信,推荐本文给好友
--------------------------------------------------------------------------------
[订阅] [返回]
.net当然是一平台了,明显没有可比性。还是用Asp.net。