摘要: 行转列 SELECT * FROM studentPIVOT ( SUM(score) FOR subject IN (语文, 数学, 英语)) AS PivotedData; 列转行 SELECT *FROM student1UNPIVOT ( score FOR subject IN ("语文" 阅读全文
posted @ 2024-03-13 11:14 過朢 阅读(225) 评论(0) 推荐(0)
摘要: //将123-4567 8910 4改为123-4567-8910-4 string msg1 = "123-4567 8910 4"; string[] parts = msg1.Split(new char[] {'-'},StringSplitOptions.RemoveEmptyEntrie 阅读全文
posted @ 2024-03-13 10:06 過朢 阅读(136) 评论(0) 推荐(0)
摘要: static void Main(string[] args) { Stopwatch stopwatch = new Stopwatch(); //图片网址 //https://www.ivsky.com/tupian/index_8.html //string url = "https://cn 阅读全文
posted @ 2024-03-13 10:03 過朢 阅读(41) 评论(0) 推荐(0)
摘要: //下载页面源文件并将其转换成UTF8编码格式的STRING //string mainData = Encoding.UTF8.GetString(wc.DownloadData(string.Format("你要采集的网页地址"))); string path = Server.MapPath( 阅读全文
posted @ 2024-03-13 10:01 過朢 阅读(22) 评论(0) 推荐(0)