string strCondition = string.Empty;
for (int i = 0; i < status.Length; i++)
{
if (i == 0)
strCondition = status[i].TypeId.ToString();
else
strCondition = SQL_COMMA + status[i].TypeId.ToString();
}
strCondition = SQL_SELECT_COURSESCORES_BYSTUDENTSTATUS+"(" + strCondition + ")";