id name subject score remark1 l math 86 2 l eng 68 3 l phy 88 4 z chn 99 5 z math 92 6 z com 98 7 z pe 95 8 p chn 93 9 p art 92 --4:动态PIVOT行转列 DECLARE @sql_str VARCHAR(8000)DECLARE @sql_col VARCHAR(8000) SELECT @sql_col = ISNULL(@sql_col + ',','') +…
1.直接更改协议头 [HttpGet] public HttpResponseMessage Users() { var sites = new object(); string str = tools_json.ObjToJson(sites); HttpResponseMessage result = new HttpResponseMessage { Content = new StringContent(str, Encoding.GetEncoding("UTF-8"), &…