Click here to Skip to main content
11,642,381 members (67,467 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB
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.
Posted 1-Jan-11 19:46pm
Edited 1-Jan-11 20:19pm
v2
Comments
Abhinav S at 2-Jan-11 3:45am
   
What have you tried so far?
Sandeep Mewara at 2-Jan-11 2:19am
   
Any effort?
Rajesh Puli at 2-Jan-11 1:48am
   
Any Effort???

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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 ?
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web04 | 2.8.150731.1 | Last Updated 2 Jan 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100