原创 C#更改店鋪狀態
在這裏插入代碼片 ####Mvc視圖代碼 <td> @if (item.SState == 1) { <label>正在營業</label> } else { <l
原创 Sql標量值函數實現字符串的替換
ALTER function ascd ( @Str varchar(50), --傳入的字符串 @Sel varchar(50), --要替換的字符 @Rel varchar(50) --要替換成什麼 )
原创 Ado.net輔助類
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;
原创 ApiHelper
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; us
原创 Html界面調用百度地圖API接口
<!DOCTYPE html> <html>[申請祕鑰地址,按步操作](http://lbsyun.baidu.com/apiconsole/key#%E3%80%82) <head> <meta http-equiv="
原创 遞歸的算法求1,1,2,3,5,8.......的第30位數是多少,然後求這些數的和
static void Main(string[] args) { //遞歸的算法求1,1,2,3,5,8.......的第30位數是多少,然後求這些數的和. int
原创 API安全-JWT實操
JWT安全相關代碼!(https://img-blog.csdnimg.cn/2020040923251333.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,
原创 Api文件上傳下載
//Api控制器 [HttpPost] public string UploadFile() { string result = string.Empty;
原创 Sql數據庫簡單權限表設計
create database jurisdiction --權限數據庫 go use jurisdiction go --部門表 --員工表 create
原创 Layui左樹右表
html部分 <div class="layui-fluid"> <div class="layui-row layui-col-space15"> <!-- 左樹 --> <div cla
原创 Uncaught SyntaxError: missing ) after argument list 界面報錯
Uncaught SyntaxError: missing ) after argument list 報這個錯可能就是 {},[],(),"",’’ 不是成對出現
原创 sql循環刪除數據
--循環刪除,執行時間爲1240毫秒 set statistics time on; declare @timer datetime = getdate(); delete from goods select datediff(
原创 sql數據庫刪除無用的表字段
alter table bwstudent(表名稱) drop column Shobdy(無用的表字段名字)
原创 dapper支持調用存儲過程
dapper支持調用存儲過程
原创 Echars餅圖
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head