摘要:
ExcelDAL exc = new ExcelDAL(); DataTable dt = exc.ExcelToDS(path); foreach (DataRow dr in dt.Rows) { modelM mm = new modelM(); mm.FileNamee = dr[0].To 阅读全文
摘要:
public class IntOutController : Controller { // GET: IntOut public ActionResult Index() { return View(); } /// <summary> /// 导出 /// </summary> /// <re 阅读全文
摘要:
namespace 专注MVC上传下载20余年.Controllers{ public class modelM { public int ID { get; set; } public string FileNamee { get; set; } public string FileType { 阅读全文
摘要:
@using (Html.BeginForm()) { <table> <tr> <td>门牌号:</td> <td>@Html.TextBoxFor(T => T.Door)</td> </tr> <tr> <td>类别:</td> <td>@Html.DropDownList("TypeID", 阅读全文
摘要:
API 部分//勾上Api public class ProductController : ApiController { AEntities db = new AEntities();//引用db public IEnumerable<ZuoHeBiao> Get(string name, in 阅读全文