问题描述
教师表如下
教师
1
2
3
4
5
6
7
8
9
10
i希望使用数组存储上述Facultyid。
i查询如下
选择s.studname,f.bthid,a.Facultyid来自studdet s,facfeedback f,Faculty a
其中月份(b.examdate)= 9和年份(b。考试)= 2012和a.Facultyid ='';
来自a.Facultyid的上述查询我想通过( store)数组值教师ID。
我该怎么办?
我该怎么办?使用数组存储Facultyid并在上面的查询中传递该数组值。
我怎样才能使用csharp。
问候,
Narasiman P.
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.
推荐答案
这篇关于如何使用c#在asp.net中使用数组存储数据库值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!