07 2023 档案
摘要:JavaScript部分: function checkAll(obj){ $("#box input[type='checkbox']").prop('checked', $(obj).prop('checked'));}html部分: <div id="box"> <input type="ch
阅读全文
摘要:<input type="checkbox" id="ckall" onclick="checkall()"/>全选<input type="checkbox" class="ckitem" />学习<input type="checkbox" class="ckitem" />吃饭<input t
阅读全文
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u
阅读全文
摘要:private void Form1_Load(object sender, EventArgs e) { DataTable dt = new DataTable(); DataColumn c1 = new DataColumn("序号", typeof(string)); DataColumn
阅读全文
摘要:using Service;using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using wgh.model;namespace Wgh.stud
阅读全文
摘要:using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations.Schema;using System.Linq;using Dapper.Lite; namespace wgh.mo
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using wgh.model.Models;using DBHelper;u
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using wgh.model.Models;using DBHelper;n
阅读全文
摘要:安装 autofac 安装 autofac.mvc 注册代码 var builder = new ContainerBuilder(); builder.RegisterControllers(typeof(MvcApplication).Assembly).PropertiesAutowired(
阅读全文
摘要://选中checkbox事件种类 string IncidentType = dtMain.Rows.Count > 0 ? dtMain.Rows[0]["事件种类"].ToString() : ""; var IncidentTypeArray = IncidentType.Split(',')
阅读全文