.Net Core Web Api_筆記16_api結合ADO.NET資料庫操作part4_資料編輯提交更新

編輯則是會By特定編號撈取指定資料去做編輯 所以需要先把資料回填到表單 修改Show.html 這裡改一下標題為操作(包含編輯,刪除兩種操作類型) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 <!DOCTYPE html> <html> <head> <meta charset= "utf-8" /> <title> Show NewsType </title> <link href= "../css/bootstrap.min.css" rel= "stylesheet" /> <script src= "../js/jquery/jquery.min.js" ></script> </head> <body style= "margin:20px;" > <table id= "tbNewsType" class= "table table-bordered" > <thead> <tr> <td> 文章ID </td> <td> 分類 </td> <td> 是否啟用 </td> <td> 操作 </td> </tr> </the...