摘要:
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
舒克老机长
阅读(363)
评论(0)
推荐(0)
摘要:
public class IntOutController : Controller { // GET: IntOut public ActionResult Index() { return View(); } /// <summary> /// 导出 /// </summary> /// <re 阅读全文
posted @ 2017-11-21 20:38
舒克老机长
阅读(218)
评论(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
舒克老机长
阅读(221)
评论(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
舒克老机长
阅读(431)
评论(0)
推荐(0)