Click here to Skip to main content
15,907,492 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Faculty Table as follows


Facultyid

1
2
3
4
5
6
7
8
9
10



i want to store the above Facultyid using array.

i have query as follows

select s.studname,f.bthid,a.Facultyid from studdet s, facfeedback f,Faculty a
where month(b.examdate) = 9 and year(b.examdate) = 2012 and a.Facultyid = '';


from the above query in the a.Facultyid i wan to pass(store) the array value faculty id.

for that how can i do?

how can i store the Facultyid using array and pass the that array value in the above query.


for that how can i do using csharp.

Regards,
Narasiman P.
Posted
Comments
CHill60 25-Sep-13 9:04am    
Can you clarify ... are you running that query, getting a recordset of results and you want to have those results in an array?

1 solution

The least complex method would be using ADO.NET: examples[^]
 
Share this answer
 

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