帮助开发一个简单的应用程序 [英] Help to develop a simple app

查看:74
本文介绍了帮助开发一个简单的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我是LightSwitch的新手,我不是程序员,但我与IT部门合作.我也是巴西人,所以请原谅我的英语" :)

我想在开发一个简单的应用程序方面有所帮助.

我已经看过所有我该怎么办?"视频,并喜欢LS概念.


我期待着使您的应用程序变得非常简单的应用程序……至少在我看来,它确实非常简单.


我将描述我的数据源以及我想要在屏幕上显示的内容.


资料来源:

-表格(ApplicationData)
     CostHeader(编号,公司编号,日期)*与ExternalData.Company相关
     CostDetails(Id,CostHeaderId,CompanyId,CostId,Value)*与ApplicationData.CostHeaders和ExternalData.TypeCost
相关

-外部表(ExternalData)视图"
     Company(公司ID,名称)
     TypeCost(公司编号,成本编号,说明)


如果图像太难理解,我可以放图片.

我想做的是...

创建一个具有CostHeader和CostDetail的ListDetail屏幕(...直到此处我很好),当我添加新的CostHeader时,我应该选择Company并插入一个日期(也很好),然后,我想添加一个新的CostDetail

但是我只想拥有"TypeCost"来自我在CostHeader中选择的公司.


 -是的,我已经阅读了此http://blogs.msdn.com/b/bethmassi/archive/2012/01/12/creating-cascading-drop-down-lists-in-visual-studio-lightswitch.aspx ,但无法执行.

而且我还想将这个addNewCostDetail创建为一个网格屏幕,其中所有TypeCost项仅预先加载了"Value"值.填充盒...

Hi

i'm new to LightSwitch an I'm not a programmer, but I work with IT. Also I'm Brazilian, so "pardon my english" :)

I would like to have some help on develop a simple app.

I've watch all "how do I?" videos and love the LS concept.


The app i'm looking forward to make it's quite simple for your guys...at least in my mind is really simple.


I will describe my data sources and what I would like to have in my screen.


Data Source:

- Tables (ApplicationData)
    CostHeader (Id, CompanyId, Date) *relates with ExternalData.Company
    CostDetails(Id, CostHeaderId, CompanyId, CostId, Value) *relates with ApplicationData.CostHeaders and ExternalData.TypeCost


- External Tables (ExternalData) "Views"
    Company (CompanyId, Name)
    TypeCost (CompanyId,  CostId, Description)


I can put an image if it's too hard to understand.

What I want to do is...

Create a ListDetail Screen with CostHeader and CostDetail (...until here i'm fine), when I add an new CostHeader I should pick the Company and insert a date (fine as well) then, I would like to add a new CostDetail

But I would like to have only the "TypeCost" from the company that I selected in the CostHeader.


 - Yes, I already read this http://blogs.msdn.com/b/bethmassi/archive/2012/01/12/creating-cascading-drop-down-lists-in-visual-studio-lightswitch.aspx , but could not perform.

And I would also like when this addNewCostDetail is created to be an grid screen with all the TypeCost items pre loaded only with the "Value" box to fill...

因为我不希望用户必须一个接一个地选择TypeCost ...因为我知道eh将填写每种成本类型的所有数据.

Because I don't want the user to have to pick TypeCost one by one...because I know eh will fill all the data for each type of cost.

我希望你们能理解我的要求...并且您可以帮助我解决该问题.



只需快速更新...就让你们明白我为什么需要这个...它将作为预算投入.



I hope yo guys understand my request...and you can help me sort it out.



Just a quick update...Just for you guys understand why I need this...it would serve as a budget input.



推荐答案

我可以回答您的第一个问题,但是您会得到第二个,第三个问题. . . (;;)问题.

I could answer your first question, but then you'd have a second, third, . . . (;;) questions.

帮个忙,下载2本书LS Kindle. Kindle具有该软件的免费PC和电话版本.

Do yourself a favor and download 2 LS Kindle books.  Kindle has free PC and phone versions of the software.

Pro Visual Studio LightSwitch 2011开发(专业版Apress)[Kindle版]

Microsoft Visual Studio 2012 Unleashed(第二版)[Kindle版]

还要找到一个可以帮助您的程序员朋友,因为您将需要帮助.

Also find a friend that is a programmer that can help you out - as you will need help.

非程序员可以使用LS进行很多操作.但是,您将需要有关屏幕和数据库设计的建议-以及一些编码.

There is a great deal that a non-programmer can do with LS.   However, you will need advice on the screen and database design - as well as needing some coding.


这篇关于帮助开发一个简单的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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