使用列表框创建Web表单应用程序 [英] Creating web form application with list boxes

查看:67
本文介绍了使用列表框创建Web表单应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


下表显示了一个培训公司的研讨会,天数每个,以及他们的注册费。




培训公司在下表所示的六个地点举办研讨会。该表还显示了每个地点每天的住宿费用。

The training company conducts its workshops in the six locations shown in the following table.  The table also shows the lodging fees per day at each location.




当客户  注册  对于
a工作坊,他或她必须支付注册费加上所选地点的住宿费用,例如,以下是收费参加监督技能  研讨会  在
Orlando:


注册:  $ 1,500

住宿:  $ 300 * 3
days = $ 900


总计:  $ 2,400

Registration: $1,500
Lodging: $300 * 3 days = $900
Total: $2,400


创建一个应用程序,让用户从一个 ListBox  以及来自另一个的位置  ListBox 。 
当用户点击按钮时,应用程序应计算并显示注册费用,住宿费用和总费用。



包括一个清除按钮,清除之前选择的成本并重置&span;&span; = span style ="margin:0px;填充:0像素;边框:0像素;概要:0像素;字体风格:继承; FONT-FAMILY:继承; font-size:13px"> ListBoxes  所以
中没有任何一个选项  ListBox  被选中。

Create an application that lets the user select a workshop from one ListBox and a location from another ListBox.  When the user clicks a button, the application should calculate and display the registration cost, the lodging cost, and the total cost.

Include a Clear button that clears the costs from the previous selections and resets the focus of the ListBoxes so that none of the options in either ListBox are selected.



推荐答案

http://polymorphicpodcast.com/ shows / mv-patterns /

http://polymorphicpodcast.com/shows/mv-patterns/

你做了教程,它向你展示了如何使用ASP.NET Web表单,恰好使用Dropdownlist将MVP与Web表单一起使用以及在网络论坛上使用MVP需要做些什么。

You do the tutorial, which is showing you how to work with ASP.NET Web form that just happens to be using a Dropdownlist in using MVP with the Web form and what that entails with using MVP with a Web forum.

那么你会比经验丰富的专业人士了解更多。:)

Then you'll know more than a lot of seasoned professionals. :)

你有每个节目的节目和代码。你可以跳过Windows VB.NET的东西。

You got the shows and the code for each show. You can skip the Windows VB.NET stuff.

这很简单,所以观看节目并使用代码当你看到这一切时,你不会出错。你会对自己说,啊,我的眼睛被打开了。

It's simple man simple so watch the shows and use the code that's being shown to you. You can't go wrong when you see it all in action. And you'll say to yourself, ahh my eyes are opened.

http:// www。 codeproject.com/Articles/228214/Understanding-Basics-of-UI-Design-Pattern-MVC-MVP

http://www.codeproject.com/Articles/228214/Understanding-Basics-of-UI-Design-Pattern-MVC-MVP

ASP.NET问题可在以下论坛上解答。

ASP.NET questions can be address at the below forum.

http://forums.asp.net/

http://forums.asp.net/


这篇关于使用列表框创建Web表单应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆