2019年10月2日
摘要: 1 Public Type TypeValueColum 2 '列索引号 3 columnIndex As Integer 4 '列名称 5 columnName As String 6 '对应字典列索引。没有字典对应时为0 7 dicColumnIndex As Integer 8 '对应字典列索引。没有字典对应时为空 ... 阅读全文
posted @ 2019-10-02 10:40 眸眸 阅读(231) 评论(0) 推荐(0)
摘要: 1 '学籍接续标识 2 Function checkXjjxbs(valueCol As TypeValueColum, rowIndex) 3 If checkRequired(rowIndex, valueCol.columnIndex) = 1 Then 4 5 End If 6 End Function 7 8 '1 学校标识码... 阅读全文
posted @ 2019-10-02 10:40 眸眸 阅读(350) 评论(0) 推荐(0)
摘要: 1 Public Sub Check_Click() 2 Sheets(readmeSheetName).Visible = False 3 '首先输入学校验证码,如果不输入直接退出 4 xxbsm = InputBox("请输入学校标识码") 5 If StrPtr(xxbsm) Then 6 If IsNumeric(xxbssm) Then 7 If Len(xxbsm) <> 10 The 阅读全文
posted @ 2019-10-02 10:38 眸眸 阅读(338) 评论(0) 推荐(0)
2018年12月11日
摘要: 一、代码 二、运行结果: 来源:Visual Basic 2008 How to Program P305 阅读全文
posted @ 2018-12-11 15:03 眸眸 阅读(145) 评论(0) 推荐(0)
2018年12月6日
摘要: 一、模块代码 二、运行结果 来源:Visual Basic 2008 How To Program P304 阅读全文
posted @ 2018-12-06 23:43 眸眸 阅读(104) 评论(0) 推荐(0)
摘要: 来源说明:https://blog.csdn.net/sha574810590/article/details/40738069 在LINQ中,数据源和查询结果实际上都是IEnumerable<T>或IQueryable<T>类型对象,所以可以通过使用普通对象的形式(调用方法、使用属性等)对数据源进 阅读全文
posted @ 2018-12-06 21:30 眸眸 阅读(151) 评论(0) 推荐(0)
2018年12月4日
摘要: 一、模块代码 二、类代码 三、运行结果 来源:Visual Basic 2008 how to program 阅读全文
posted @ 2018-12-04 10:49 眸眸 阅读(150) 评论(0) 推荐(0)
2018年12月3日
摘要: 片段代码: 源于:visual basic 2008 how to program 阅读全文
posted @ 2018-12-03 20:52 眸眸 阅读(119) 评论(0) 推荐(0)
2018年12月2日
摘要: 一、主模块代码: 二、类模块代码 三、运行结果 注:这个简单的例子充分体现了类模块中属性访问符Set对数据进行验证的优点和威力。 来源:Visual Basic 2008 How To Program P107 阅读全文
posted @ 2018-12-02 22:12 眸眸 阅读(150) 评论(0) 推荐(0)
摘要: 一、主模块代码: 二、类模块代码: 三、运行结果: 来源:Visual Basic 2008 How To Program P105 阅读全文
posted @ 2018-12-02 19:50 眸眸 阅读(191) 评论(0) 推荐(0)