int ClassCount = 1; int tabClassCount=1; if (ClassCount > 1) {
    foreach (MOTFOLD_R_COURSEKIND_GetClassList_Result citem in Model.demoCourseKindClassList) { string tabclasspid="#tabClass"+citem.CLSUID; if (tabClassCount == 1) {
  • citem.CLSNA
  • } else {
  • citem.CLSNA
  • } ClassCount++; }
}