c与net实验学生信息管理系统内容摘要:

)。 //调用 ReadToEnd 方法读取选中文件的全部内容 line = ()。 while (line != null) { String[] infos = new String[100]。 infos = (39。 39。 )。 (new Student(infos[0], infos[1], infos[2], infos[3], infos[4], infos[5], infos[6], infos[7]))。 line = ()。 } showInfo(StudentRecord)。 //关闭当前文件读取流 ()。 } catch (Exception ex) { (捕获异常 :+ex)。 } } } 添加学生信息: private void btn_Add_Click(object sender, EventArgs e) {if (().Trim() == ) {(提示:学号 /姓名 /出生年月 /专业 /联系电话 /Email 不能为空 )。 } else if(().Trim()==) (提示:学号 /姓名 /出生年月 /专业 /联系电话 /Email 不能为空 )。 else if (().Trim() == ) (学号 /姓名 /出生年月 /专业 /联系电话 /Email 不能为空 )。 else if (().Trim() == ) (学号 /姓名 /出生年月 /专业 /联系电话 /Email 不能为空 )。 else if (().Trim() == ) (学号 /姓名 /出生年月 /专业 /联系电话 /Email 不 能为空 )。 else if (().Trim() == ) (学号 /姓名 /出生年月 /专业 /联系电话 /Email 不能为空 )。 else { (new ( .ToString().Trim(), ().Trim()。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。