Click here to Skip to main content
15,894,720 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Batch table as follows

Batchid

1
2
3
4
5
6
7
8
9
10

First Query as follows

select Batchid from batch order by 1 asc

second Query as follows

select b.batchid, s.studid,f.bfid, f.rate from batch b, studdet s, facfeedback f
where month(b.examdate) = 9 and year(b.examdate) = 2012
and b.batchid = s.bthid and f.studid =s.studid and f.bfid = '9' and b.batchid = 10
First query i have Batchid from batch table

in Second query i pass the batchid


Design screen as follows



Faculty Name dropdownlist1
Faculty ID dropdownlist2
Month dropdownlist3
Year dropdownlist4
Batchid DRopdownlist5

I have one gridview and one Show Button.


In run mode when i select the Faculty Name in the dropdownlist2 facutly id will be displayed and select the month and year and batch id then when i click the Show button.


In Gridview output as follows


Batchid Studentid Facultyid Rate

10 234 5 2
10 235 5 3

The above output in Gridview shows as for that batchid(10) and for particular Facultyid(5) this much of students give the Rate.


In show Button how can i write the code.

please help me

Regards,
Narasiman P.
Posted

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900