- 57
- 0
- 约1.86万字
- 约 5页
- 2016-10-06 发布于贵州
- 举报
数据库实验 PoerBuilder 9.0 PB 常用控件编程 实验报告
实验二 常用控件的编程
实验目的
掌握窗口下拉列表框、选择钮、组合框、多行编辑框等常用控件的基本使用方法和编程方法;
掌握窗口控件的齐整性操纵方法以及Tab顺序的设置;
掌握SQL语句的使用,PowerBuilder系统提供的SQL画板的使用方法。
实验准备
复习有关下拉列表框控件、选择按钮控件、多行编辑框控件以及组合框控件的内容;
启动Powerbuilder 9.0;
选择已经创建的应用 mypb..pbl。
实验步骤
设计下面的学生基本信息输入窗口,窗口保存为w_studentinput
设置每个控件的名称和显示文字
为民族下拉列表填充选项
为确定按钮、退出按钮和mypb的open事件加入事件处理代码
运行程序
实验感想
此次实验练习了PowerBuilder 9.0 控件的基本用法,掌握了使用PowerBuilder 9.0编写简单的数据库应用程序的方法。试验中第一次测试中无法插入数据进数据库,经过上网查询如何发现PowerBuilder 9.0的SQL语句错误,将SQL语句错误显示出来,最终排除了错误,如下图。
leading cadres awareness of right in place, study the party Constitution and party rules, series of speeches can make proper effect. Party cadres to two lead by example, to lead by example we must change our mind, recognizing that two is important. First, learn the Communist Party Constitution Party rules, learning learning series important speech by General Secretary can enhance theory. With the third revolution the rise of rapid changes in our life are feeling, the Communists should adhere to the theory of confidence will continue to learn from the voices of the times, the times, in turn, will have new requirements for leading party cadres. Two is the most basic meaning of members all mastering the core theory and the most advanced weapons theory, complement the spirit of calcium. Secondly, the Communist Party Constitution Party rules, learning learning series important speech by General Secretary be able to firmly build the ideological foundation. Under the impact of multiple values, the two is to help cultivate independent judgment in numerous miscellaneous multiple concepts, so that the majority consensus of party members, the important magic weapon of the party with the resonance frequency. Finally, the Constitution of the Communist Party, party rules, learning learning series important speech can stand crowds, General Secretary position. Now, some grass-roots work in the the old way didnt work, hard
原创力文档

文档评论(0)