- 博客(9)
- 收藏
- 关注
转载 触发器
create trigger tri_updateon UserCardInfofor updateasbegin declare @ALLMoney int declare @OutMoney int select @ALLMoney = CardMoney from UserCardInfo declare @No varchar(50) declare @Na...
2017-11-23 10:31:00
55
转载 批量添加
public ActionResult ImportData(string str) { string[] strList = str.Split('|'); List<BatchInfo> list = new List<BatchInfo>(); for (int ...
2017-11-22 14:32:00
80
转载 图片水印
namespace 文字水印高级.Controllers{ public class HomeController : Controller { public ActionResult show() { return View(); } public ActionResult tu...
2017-11-22 14:08:00
79
转载 压缩
ZipFile.CreateFromDirectory(@"D:\CSkin.dll", @"D:\压缩后的CSkin.dll.zip"); ZipFile.ExtractToDirectory(@"D:\压缩后的CSkin.dll.zip", @"D:\CSkin.dll"); using System.IO.Compress...
2017-11-22 13:44:00
69
转载 获取Excel数据OleDb
ExcelDAL exc = new ExcelDAL(); DataTable dt = exc.ExcelToDS(path); foreach (DataRow dr in dt.Rows) { modelM mm = new modelM();...
2017-11-21 20:50:00
78
转载 导入 导出 Excel
public class IntOutController : Controller { // GET: IntOut public ActionResult Index() { return View(); } /// <summary> /// 导出...
2017-11-21 20:38:00
69
转载 上传 下载
namespace 专注MVC上传下载20余年.Controllers{ public class modelM { public int ID { get; set; } public string FileNamee { get; set; } public string FileType { get; set; }...
2017-11-21 20:32:00
86
转载 MVC修改赋值
@using (Html.BeginForm()) { <table> <tr> <td>门牌号:</td> <td>@Html.TextBoxFor(T => T.Door)&...
2017-11-21 20:06:00
131
转载 MVC跨域API HTTPClient方法 EF DBfirst
-----------API 部分//勾上Api public class ProductController : ApiController { AEntities db = new AEntities();//引用db public IEnumerable<ZuoHeBiao> Get(string name, int id)...
2017-11-21 20:00:00
65
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人