本文介绍了从数据库中检索数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好



我正在开发一个临床实验室系统项目,其中我添加了类别:尿液检查等。

然后在这个类别下我添加了多个子类别,并且在这些子类别下我使用主要外键添加了多个测试,现在在生成报告时,当我从下拉列表中选择主要类别作为尿液检查时,我希望此类别下的子类别将以标签显示,并且我希望显示这些标签下的子类别下的测试。如何在不知道所用标签数量的情况下检索此类数据,多个数据。

任何人都可以建议。



感谢

Jasbeer Singh

Hello

I am developing a clinical laboratory system project, in which i have added category as: Urine Examination , and etc..
then under this category i add more than one sub category,, and under those subcategories i add more than one tests using primary-foreign keys, Now while generating report, when i select Main category from dropdownlist as Urine Examination, I want that the sub categories under this category will be shown in labels and with those labels i want to show the tests which come under the subcategory. how to retrieve this type of data, multiple data without knowing the number of labels used.
Can anybody Suggest something.

Thank
Jasbeer Singh

推荐答案


这篇关于从数据库中检索数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 00:17