izza_azhar
Member
- Joined
- Mar 1, 2006
- Messages
- 17
- Programming Experience
- Beginner
hi everyone..i'm newbie in vb..net actually.
my problem is like this..
1.for example i want to query from db
**select distinct (course) from student- example output are engineering, IT, pharmachist, communication, etc..(about 15)
2. how i can count total student taking each course
**select count(course) from STUDENT_TABLE where couse = 'IT'
-assume that we didnt know COURSE information
-IT course - we might put to the variable rite?
3.i have to use the loop rite? can anyone show me how to solve this problem??
thanks~~~
my problem is like this..
1.for example i want to query from db
**select distinct (course) from student- example output are engineering, IT, pharmachist, communication, etc..(about 15)
2. how i can count total student taking each course
**select count(course) from STUDENT_TABLE where couse = 'IT'
-assume that we didnt know COURSE information
-IT course - we might put to the variable rite?
3.i have to use the loop rite? can anyone show me how to solve this problem??
thanks~~~