摘要:
function showAdd() { layer.open({ type: 2, shade: 0.5, title: false, //不显示标题 area: ['800px', '600px'], content: "/student/addinsert", //success: funct 阅读全文
posted @ 2017-11-22 19:31
Mr.htb
阅读(488)
评论(0)
推荐(0)
摘要:
//全选 $("#chk").click(function(){ $("input[name='chkbox']").prop("checked", this.checked) }) //批量删除 function piliangshanchu() { debugger; //定义一个空字符串 va 阅读全文
posted @ 2017-11-22 19:29
Mr.htb
阅读(147)
评论(0)
推荐(0)
摘要:
///视图 @using (Html.BeginForm("addinsert", "student", FormMethod.Post, new { @enctype = "multipart/form-data" })) { <table class="table table-bordered 阅读全文
posted @ 2017-11-22 19:28
Mr.htb
阅读(188)
评论(0)
推荐(0)
摘要:
[HttpGet] public ActionResult xiugai(int id=0) { var checkedlist = new List<checklist>() { new checklist(){ id =1, name ="打球"}, new checklist(){ id =2 阅读全文
posted @ 2017-11-22 19:28
Mr.htb
阅读(135)
评论(0)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Net.Http;using System.Web;using System.Web.Mvc;using System.Net.Http.Head 阅读全文
posted @ 2017-11-22 19:25
Mr.htb
阅读(446)
评论(0)
推荐(0)
摘要:
DECLARE @varCursor Cursor --声明游标变量 DECLARE cursor_fruit CURSOR FOR SELECT * FROM studens;--创建游标 OPEN cursor_fruit --打开游标 SET @varCursor=cursor_fruit - 阅读全文
posted @ 2017-11-22 19:19
Mr.htb
阅读(119)
评论(0)
推荐(0)
摘要:
--ALTER TRIGGER chufaqi--ON studentinfo--AFTER INSERT --AS --BEGIN-- DECLARE @name INT -- SELECT @name=ID FROM inserted-- UPDATE studentinfo SET NAME= 阅读全文
posted @ 2017-11-22 19:19
Mr.htb
阅读(96)
评论(0)
推荐(0)
摘要:
///控制器 /// <summary> /// 图片水印 /// </summary> /// <param name="File1"></param> /// <returns></returns> public ActionResult shuiyinpost(HttpPostedFileBa 阅读全文
posted @ 2017-11-22 19:17
Mr.htb
阅读(139)
评论(0)
推荐(0)
摘要:
///视图 GoToPage(1, "pageHtml") function GoToPage(pageindex, pageHtml) { $.ajax({ url: "/fenye/index", type: "post", data: { pageindex: pageindex }, suc 阅读全文
posted @ 2017-11-22 19:14
Mr.htb
阅读(251)
评论(0)
推荐(0)
摘要:
/// <summary> /// 下拉框绑定 /// </summary> /// <returns></returns> public List<addlei> YEzhu() { string sql = "SELECT * FROM T_YEzhuBiao"; SqlDataAdapter 阅读全文
posted @ 2017-11-22 19:12
Mr.htb
阅读(226)
评论(0)
推荐(0)
摘要:
/// <summary> /// 数据导出 /// </summary> /// <returns></returns> public FileResult daochu() { string filename = Server.MapPath("/ExcelFile.xlsx");//在bin文 阅读全文
posted @ 2017-11-22 19:10
Mr.htb
阅读(117)
评论(0)
推荐(0)
摘要:
-- Template generated from Template Explorer using:-- Create Procedure (New Menu).SQL Use the Specify Values for Template Parameters -- command (Ctrl- 阅读全文
posted @ 2017-11-22 15:43
Mr.htb
阅读(99)
评论(0)
推荐(0)