我从用户那里获取数据时遇到问题 [英] I have a problem with get datas from user

查看:75
本文介绍了我从用户那里获取数据时遇到问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个很大的问题要从用户那里收集数据.实际上我的要求如下.用于制作收据的抗性项目.如果配方名称为``Meals'',则我们收集具有``Meals''的项目名称,例如``Rice,Sambar,dish1,dish2'',然后我们收集该特定项目的数量,原材料项目,例如如如果我们给水鹿服用多少dhaal,姜黄粉,芥末...等.
所有这些信息将以一种形式收集.怎么做?

薄煎饼集---->薄煎饼2 ---->小麦-1/5公斤,油1茶匙
|
| -----> Dhall --------> Chana-1/5公斤,Masala-1/2茶匙
|
| ---->库尔玛-------->蔬菜1/3公斤,马萨拉1茶匙,油5茶匙
|
| ----->色拉-------->洋葱3号,胡椒粉1/2茶匙,咖喱粉1/2升

如果他们提供了以上详细信息,我们将计算任意数量的薄煎饼集(例如50个薄煎饼集)的原料测量,就像我们需要多少原材料一样,我的问题是如何从用户那里获取信息.我可以使用哪种控件来收集信息,如果它会高效且有吸引力.

Hi,

I have a big problem for collecting data from user. Actually my requirement is as following. It is used for Resistant Project for making receipe. If The recipe name is ''Meals'' , we collecting the items name which has ''Meals'', such as ''Rice,Sambar,dish1,dish2'' and then we collecting that particular items quantity, raw materials items such as If we take sambar how much dhaal,turmeric powder,mustard...etc.
This all information will be gather within one form. How to do it?

Chapati Set----> Chapati-2---->wheat-1/5 kg,oil- 1tsp
|
|-----> Dhall-------->Chana-1/5 kg,Masala-1/2tsp
|
|----> Kurma-------->Vegetables-1/3 kg,Masala-1tsp,oil-5tsp
|
|-----> Salad-------->Onion-3,Pepper-1/2tsp,Curd-1/2ltr

If they give the above details, We calculate the measurement of rawmaterials for any number of chapati set such as 50 chapati set howmuch rawmaterials we need,just like, My problem is how to get the information from user. Which control I can used for gathering information, If It will be efficient and attractive.

推荐答案

可以有多种显示方法.我能想到的情侣-选择适合您的情侣.
选项#1:主子网格显示-嵌套或非嵌套.
选项2:左侧的树状视图,有关网格中右侧特定树节点的详细信息.

看看是否喜欢!
There can be various ways to show it. Couple that I can think of - Pick the one that suits you.
Option #1: Master-Child Grid presentation - Nested or non-nested.
Option #2: A treeview on left side, details related to particular treenode on right side in a grid.

See if you like!


这篇关于我从用户那里获取数据时遇到问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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