摘要: create trigger tri_updateon UserCardInfofor updateasbegin declare @ALLMoney int declare @OutMoney int select @ALLMoney = CardMoney from UserCardInfo d 阅读全文
posted @ 2017-11-23 10:31 舒克老机长 阅读(161) 评论(0) 推荐(0) 编辑
摘要: public ActionResult ImportData(string str) { string[] strList = str.Split('|'); List<BatchInfo> list = new List<BatchInfo>(); for (int i = 0; i < strL 阅读全文
posted @ 2017-11-22 14:32 舒克老机长 阅读(185) 评论(0) 推荐(0) 编辑
摘要: namespace 文字水印高级.Controllers{ public class HomeController : Controller { public ActionResult show() { return View(); } public ActionResult tupian() { 阅读全文
posted @ 2017-11-22 14:08 舒克老机长 阅读(253) 评论(0) 推荐(0) 编辑
摘要: ZipFile.CreateFromDirectory(@"D:\CSkin.dll", @"D:\压缩后的CSkin.dll.zip"); ZipFile.ExtractToDirectory(@"D:\压缩后的CSkin.dll.zip", @"D:\CSkin.dll"); using Sys 阅读全文
posted @ 2017-11-22 13:44 舒克老机长 阅读(325) 评论(0) 推荐(0) 编辑
摘要: ExcelDAL exc = new ExcelDAL(); DataTable dt = exc.ExcelToDS(path); foreach (DataRow dr in dt.Rows) { modelM mm = new modelM(); mm.FileNamee = dr[0].To 阅读全文
posted @ 2017-11-21 20:50 舒克老机长 阅读(362) 评论(0) 推荐(0) 编辑
摘要: public class IntOutController : Controller { // GET: IntOut public ActionResult Index() { return View(); } /// <summary> /// 导出 /// </summary> /// <re 阅读全文
posted @ 2017-11-21 20:38 舒克老机长 阅读(214) 评论(0) 推荐(0) 编辑
摘要: namespace 专注MVC上传下载20余年.Controllers{ public class modelM { public int ID { get; set; } public string FileNamee { get; set; } public string FileType { 阅读全文
posted @ 2017-11-21 20:32 舒克老机长 阅读(210) 评论(0) 推荐(0) 编辑
摘要: @using (Html.BeginForm()) { <table> <tr> <td>门牌号:</td> <td>@Html.TextBoxFor(T => T.Door)</td> </tr> <tr> <td>类别:</td> <td>@Html.DropDownList("TypeID", 阅读全文
posted @ 2017-11-21 20:06 舒克老机长 阅读(216) 评论(0) 推荐(1) 编辑
摘要: API 部分//勾上Api public class ProductController : ApiController { AEntities db = new AEntities();//引用db public IEnumerable<ZuoHeBiao> Get(string name, in 阅读全文
posted @ 2017-11-21 20:00 舒克老机长 阅读(428) 评论(0) 推荐(0) 编辑