摘要: 方法一:async + await + Task// 开始 private async void btnStart_Click(object sender, EventArgs e) { string message = await GetMessage(); MessageBox.Show(mes 阅读全文
posted @ 2024-03-01 19:18 過朢 阅读(151) 评论(0) 推荐(0)
摘要: long dateStr = System.currentTimeMillis()/1000; String url=""; //创建参数 JSONObject jsonObject = new JSONObject(); jsonObject.put("Action","1111"); jsonO 阅读全文
posted @ 2024-03-01 19:17 過朢 阅读(44) 评论(0) 推荐(0)
摘要: Base64.Decoder decoderCodeVerify = Base64.getDecoder();String code = "";try { byte[] bytes = decoderCodeVerify.decode(resultData); //utf-8中文会乱码换成gbk试试 阅读全文
posted @ 2024-03-01 19:13 過朢 阅读(210) 评论(0) 推荐(0)
摘要: ​ private TaskScheduler mpr_ts_UIContext; private void button1_Click(object sender, EventArgs e) { progressBar1.Visible = true; progressBar1.Value = 0 阅读全文
posted @ 2024-02-28 12:33 過朢 阅读(100) 评论(0) 推荐(0)
摘要: 下载安装开发包 .NET SDKs downloads for Visual Studiohttps://dotnet.microsoft.com/download/visual-studio-sdks 阅读全文
posted @ 2024-02-28 12:31 過朢 阅读(1511) 评论(0) 推荐(0)
摘要: 通过SQL数据库账号连接 string conString = "server=(local);uid=sa;pwd=sa;database=Student"; string conString ="Data Source=(local);uid=sa;pwd=sa;database=Student 阅读全文
posted @ 2024-02-28 12:28 過朢 阅读(21) 评论(0) 推荐(0)
摘要: 报错代码为 jsonObj过大 public ActionResult GetColumn(string table) { object jsonTreeObj = _fileBll.GetColumnBll(TableName); return Json(JsonRequestBehavior.A 阅读全文
posted @ 2024-02-27 14:03 過朢 阅读(12) 评论(0) 推荐(0)
摘要: select * from (select * from atable order by id asc limit 0,999999999) 没有limit 排序不会生效 阅读全文
posted @ 2024-02-27 14:02 過朢 阅读(40) 评论(0) 推荐(0)
摘要: SELECT 'DROP table USERNAME.'||table_name||';' FROM all_tables WHERE owner='ISA_GTJG1'; ISA_GTJG1 替换为该用户 阅读全文
posted @ 2024-02-26 16:32 過朢 阅读(12) 评论(0) 推荐(0)
摘要: Blob blob = (Blob) obyte;InputStream is=blob.getBinaryStream();String filePath = "c://a.pdf";FileOutputStream fos = new FileOutputStream(filePath);//定 阅读全文
posted @ 2024-02-26 16:31 過朢 阅读(178) 评论(0) 推荐(0)