摘要: string[] shuzu = shu.TrimEnd('|').Split('|'); if (shuzu == null || shuzu.Length == 0) { return Json(new { code = 0, message = "字符串异常" }); } List<SModl 阅读全文
posted @ 2017-11-23 11:35 没法可修饰的一对手 阅读(201) 评论(1) 推荐(0) 编辑
摘要: //////Api页面方法 day20_BookEntities db = new day20_BookEntities(); // GET: api/BookApi public IEnumerable<OrderInfo> Get() { var data = from s in db.Book 阅读全文
posted @ 2017-11-23 09:51 没法可修饰的一对手 阅读(135) 评论(0) 推荐(0) 编辑
摘要: public class newsApiController : ApiController { zhoukao0821Entities db = new zhoukao0821Entities(); // GET: api/newsApi public IEnumerable<newsinfo> 阅读全文
posted @ 2017-11-22 20:45 没法可修饰的一对手 阅读(137) 评论(0) 推荐(0) 编辑
摘要: Api: public class StuController : ApiController { Day3Entities ent = new Day3Entities(); // GET api/stu public List<Student> Get() { return ent.Studen 阅读全文
posted @ 2017-11-22 20:44 没法可修饰的一对手 阅读(201) 评论(0) 推荐(0) 编辑
摘要: <div> <form action="/Homes/shuiyinpost" enctype="multipart/form-data" method="post"> <input name="File1" type="file" /><input id="Button1" type="submi 阅读全文
posted @ 2017-11-22 13:46 没法可修饰的一对手 阅读(259) 评论(0) 推荐(0) 编辑
摘要: public ActionResult daochu() { HSSFWorkbook book = new HSSFWorkbook(); ISheet sheet = book.CreateSheet("sheet1"); IRow rows = sheet.CreateRow(0); rows 阅读全文
posted @ 2017-11-22 11:53 没法可修饰的一对手 阅读(281) 评论(0) 推荐(0) 编辑
摘要: <div> <form action="fileUpload" method="post" enctype="multipart/form-data"> <table> <tr> <td>请选择文件</td> <td><input type="file" name="Excelname" value 阅读全文
posted @ 2017-11-22 11:51 没法可修饰的一对手 阅读(163) 评论(0) 推荐(0) 编辑