来自数据库的问题 [英] Questions from database

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

问题描述

假设我们可以使用文本框在数据库中添加问题.有一个组合框.假设我们可以从组合框中选择一项.与该项目有关,我们如何显示从数据库到列表框的所有问题并打印报告.
请给我有关此问题的解决方案.

Suppose we can add questions in the database by using textbox. There is one combo box. Suppose we can select one item from combobox. Related to that item how can we show all the questions from database to listbox and print report.
Please give me solution about this problem.

推荐答案

我希望问题根据组合框中的选择基于类别.
您可以基于组合"框中的选择,使用where子句查询数据库,以根据选择从数据库中获取所有问题的列表.

要获得详尽详尽的答案,请清楚说明您的要求.

在这里,我对打印报告"感到困惑,您是否正在使用内置的数据报告或任何其他报告工具(例如Crystal报表)?
I hope the questions are category based according to selection in Combobox.
You can Query the database with where clause based on the selection in the Combo box to get list of all question from database according to the choice.

To get elaborate & detailed answer please explain your requirements clearly.

Here I am confused about "Print Report" Are you using builtin Data Report or any other reporting tool for example Crystal report ?


这篇关于来自数据库的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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