摘要: <div class="layui-form-item" pane=""> <label class="layui-form-label">节点</label> <div class="layui-input-block"> <input type="radio" name="sex" value= 阅读全文
posted @ 2019-01-03 15:27 橘子拾光 阅读(9343) 评论(0) 推荐(0) 编辑
摘要: == 用于比较 判断 两者相等 ==在比较的时候可以转自动换数据类型 用于严格比较 判断两者严格相等 严格比较,不会进行自动转换,要求进行比较的操作数必须类型一致,不一致时返回flase。 举例说明: "1" == true 类型不同,"=="将先做类型转换,把true转换为1,即为 "1" == 阅读全文
posted @ 2018-12-26 10:46 橘子拾光 阅读(152) 评论(0) 推荐(0) 编辑
摘要: { checkbox: true, formatter: function (value, row, index) { if(row.ISTOPIC 1){ return { disabled : false, } }else{ return { disabled : true, } } retur 阅读全文
posted @ 2018-12-26 10:45 橘子拾光 阅读(7207) 评论(0) 推荐(0) 编辑
摘要: 一,要使 tbody 宽度正常,必须设置 display:table。或者更通用的变通是用 JavaScript 控制表格的显示隐藏时不直接调协此 table 的 display 属性,而是给 table 包裹一层 div,然后设置该 div 的display 属性为 block 或 none。 二 阅读全文
posted @ 2018-12-14 11:01 橘子拾光 阅读(1921) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Web;using System.IO;using ICSharpCode.SharpZipLib;using ICSharpCode.SharpZipLib.Zip;using I 阅读全文
posted @ 2018-12-11 15:37 橘子拾光 阅读(224) 评论(0) 推荐(0) 编辑
摘要: Server.MapPath(string path)作用是返回与Web服务器上的指定虚拟路径相对应的物理文件路径。其参数path为Web 服务器的虚拟路径,返回结果是与path相对应的物理文件路径。但有时参数并非为虚拟路径,而是用户自定义的文件名。 Server.MapPath()的全名是Syst 阅读全文
posted @ 2018-12-11 11:32 橘子拾光 阅读(21181) 评论(0) 推荐(3) 编辑
摘要: function checkTime(stime, etime) { //开始时间 var arrs = stime.split("-"); var startTime = new Date(arrs[0], arrs[1], arrs[2]); var startTimes = startTime 阅读全文
posted @ 2018-11-23 14:14 橘子拾光 阅读(1943) 评论(0) 推荐(0) 编辑
摘要: #region 打包导出 public void ExportPackage() { #region 获取学生各个阶段上传的文件 string TopicId = GetTopicId(); string sql1 = "select * from tblTopicDraft where tblTo 阅读全文
posted @ 2018-10-30 17:13 橘子拾光 阅读(317) 评论(0) 推荐(0) 编辑
摘要: #region 设置单选框选择的值 private void setCheckBoxValue(DataTable dt) { //选题内容评价 switch (dt.Rows[0]["xtnr"].ToString()) { case "1": xtnr1.Checked = true; brea 阅读全文
posted @ 2018-10-30 13:33 橘子拾光 阅读(921) 评论(0) 推荐(0) 编辑
摘要: #region 文件上传-获取上传文件路径 public string FilePath() { DataTable dtStu = s1.select(" select * from Student_V where tblstudentid = " + studentID + ""); strin 阅读全文
posted @ 2018-10-26 15:40 橘子拾光 阅读(8358) 评论(0) 推荐(0) 编辑