Iron Speed Designer 4.2.2学习

本文详细介绍使用 IronSpeed Designer 创建应用程序的过程,包括设置项目参数、选择界面风格、配置数据库连接等关键步骤。

1 使用

1.1创建项目

运行Iron Speed Designer <chsdate w:st="on" isrocdate="False" islunardate="False" day="30" month="12" year="1899">4.2.2</chsdate>,出现下面的界面:

<shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><stroke joinstyle="miter"></stroke><formulas><f eqn="if lineDrawn pixelLineWidth 0"></f><f eqn="sum @0 1 0"></f><f eqn="sum 0 0 @1"></f><f eqn="prod @2 1 2"></f><f eqn="prod @3 21600 pixelWidth"></f><f eqn="prod @3 21600 pixelHeight"></f><f eqn="sum @0 0 1"></f><f eqn="prod @6 1 2"></f><f eqn="prod @7 21600 pixelWidth"></f><f eqn="sum @8 21600 0"></f><f eqn="prod @7 21600 pixelHeight"></f><f eqn="sum @10 21600 0"></f></formulas><path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></path><lock aspectratio="t" v:ext="edit"></lock></shapetype><shape id="_x0000_i1025" style="WIDTH: 414.75pt; HEIGHT: 311.25pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image001.png"></imagedata></shape>

2-1

<shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><stroke joinstyle="miter"></stroke><formulas><f eqn="if lineDrawn pixelLineWidth 0"></f><f eqn="sum @0 1 0"></f><f eqn="sum 0 0 @1"></f><f eqn="prod @2 1 2"></f><f eqn="prod @3 21600 pixelWidth"></f><f eqn="prod @3 21600 pixelHeight"></f><f eqn="sum @0 0 1"></f><f eqn="prod @6 1 2"></f><f eqn="prod @7 21600 pixelWidth"></f><f eqn="sum @8 21600 0"></f><f eqn="prod @7 21600 pixelHeight"></f><f eqn="sum @10 21600 0"></f></formulas><path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></path><lock aspectratio="t" v:ext="edit"></lock></shapetype><shape id="_x0000_i1025" style="WIDTH: 414.75pt; HEIGHT: 311.25pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image001.png"></imagedata></shape>

点击create a new application按钮,如下图:

<shape id="_x0000_i1028" style="WIDTH: 415.5pt; HEIGHT: 306pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image003.png"></imagedata></shape>

2-2

点击以后出现下面的向导界面,下面的界面告诉我们创建一个项目需要5个步骤,分别是为你的应用程序命名,选择页面样式,选择数据库,选择表或视图,编译和运行你的应用程序,如下:

<shape id="_x0000_i1029" style="WIDTH: 414.75pt; HEIGHT: 311.25pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image005.png"></imagedata></shape>

2-3

点击<shape id="_x0000_i1030" style="WIDTH: 95.25pt; HEIGHT: 51.75pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image007.png"></imagedata></shape>按钮,出现下面界面:

<shape id="_x0000_i1031" style="WIDTH: 486pt; HEIGHT: 397.5pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image009.png"></imagedata></shape>

2-4

<shape id="_x0000_i1032" style="WIDTH: 414.75pt; HEIGHT: 70.5pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image011.png"></imagedata></shape>部分是选择保存项目的路径,我们可以自己决定。
<shape id="_x0000_i1033" style="WIDTH: 414.75pt; HEIGHT: 45pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image013.png"></imagedata></shape>

部分,从左到右分别是选择开发语言(code language),选择.net framework的版本,编译器选项,SQL的生成形式的选择(SQL Statement Generation),在code language 中我们可以任选一种语言作为开发语言,建议选择c#,.net framework中建议选择2.0/3.0, SQL Statement Generation中建议选择Stored procedures(存储过程)。图2-4是我们的建议选择。

<shape id="_x0000_i1034" style="WIDTH: 95.25pt; HEIGHT: 51.75pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image007.png"></imagedata></shape>,出现下面的界面:

<shape id="_x0000_i1035" style="WIDTH: 414.75pt; HEIGHT: 311.25pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image015.png"></imagedata></shape>

2-5

我们可以根据自己的需要选择适合自己的界面,点<shape id="_x0000_i1036" style="WIDTH: 95.25pt; HEIGHT: 51.75pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image007.png"></imagedata></shape>,出现下面的界面:

这个界面包括我们采用数据库管理系统的选择(database server type,数据库服务器的选择,用户名和密码的输入。

<shape id="_x0000_i1037" style="WIDTH: 468pt; HEIGHT: 358.5pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image017.png"></imagedata></shape>

2-6

<shape id="_x0000_i1038" style="WIDTH: 144.75pt; HEIGHT: 82.5pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image019.png"></imagedata></shape>部分,我们可以选择自己需要的数据库类型,在<shape id="_x0000_i1039" style="WIDTH: 357.75pt; HEIGHT: 189.75pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image021.png"></imagedata></shape>部分,我们选择为server选择服务器,在Authentication中我们输入正确的用户名和密码,点击<shape id="_x0000_i1040" style="WIDTH: 336.75pt; HEIGHT: 174.75pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image023.png"></imagedata></shape>

如果成功则弹出下面界面,

<shape id="_x0000_i1041" style="WIDTH: 279pt; HEIGHT: 85.5pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image025.png"></imagedata></shape>

否则请检查服务器名称,用户名/密码是否正确。

点击确定后,返回下面界面:

<shape id="_x0000_i1026" style="WIDTH: 414.75pt; HEIGHT: 311.25pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image027.png"></imagedata></shape>

2-7

我们如果需要excel表格的应用程序,可以将excel导入到access,sql serveroracle中,再创建应用程序.

<shape id="_x0000_i1042" style="WIDTH: 95.25pt; HEIGHT: 51.75pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image007.png"></imagedata></shape>,出现下面的界面:

<shape id="_x0000_i1043" style="WIDTH: 485.25pt; HEIGHT: 5in" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image029.png"></imagedata></shape>

2-8

<shape id="_x0000_i1044" style="WIDTH: 135.75pt; HEIGHT: 280.5pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image031.png"></imagedata></shape>部分我们选择我们需要的数据库,然后在

<shape id="_x0000_i1045" style="WIDTH: 414.75pt; HEIGHT: 228pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image033.png"></imagedata></shape>

选择需要的表,点击<shape id="_x0000_i1046" style="WIDTH: 16.5pt; HEIGHT: 15pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image035.png"></imagedata></shape>,把表加如到需要创建页面的列表中,点击<shape id="_x0000_i1047" style="WIDTH: 17.25pt; HEIGHT: 16.5pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image037.png"></imagedata></shape>可以撤消。

选择完毕后,点击<shape id="_x0000_i1048" style="WIDTH: 95.25pt; HEIGHT: 51.75pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image007.png"></imagedata></shape>,出现下面的编译和运行界面:

<shape id="_x0000_i1049" style="WIDTH: 414.75pt; HEIGHT: 311.25pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image039.png"></imagedata></shape>

点击<shape id="_x0000_i1050" style="WIDTH: 84.75pt; HEIGHT: 19.5pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image041.png"></imagedata></shape>,完成项目的创建,如下图所示:

<shape id="_x0000_i1051" style="WIDTH: 414.75pt; HEIGHT: 311.25pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image043.png"></imagedata></shape>
点击<shape id="_x0000_i1052" style="WIDTH: 304.5pt; HEIGHT: 24pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image045.png"></imagedata></shape>即可运行程序查看程序的运行效果。

<shape id="_x0000_i1027" style="WIDTH: 414.75pt; HEIGHT: 311.25pt" type="#_x0000_t75"><imagedata o:title="" src="file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtml1/01/clip_image047.png"><font size="3"></font></imagedata></shape>

程序包括了查询,新建,修改,删除,输出(excel)功能

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值