#region 生成随机字符串 /// <summary> /// 生成随机字符串 /// </summary> /// <param name="length">字符串的长度</param> /// <returns></returns> public static string CreateRa ...
#region Unicode 转中文 /// <summary> /// Unicode 转中文 /// </summary> /// <param name="text"></param> /// <returns></returns> public static string UnicodeT ...
经常忘记 static 代码块 反正如果你有调用(进入到) 他的类中他就执行.. a.java: public class a { public static void main(String[] args) { b.fun(); } } b.java: public class b { stati ...
分类:
编程语言 时间:
2021-06-05 18:04:20
阅读次数:
0
# for 循环内部使用的 `key 的变量` in 字典 for k in xiaoming: print("%s: %s" % (k, xiaoming[k])) test = {"name": "小明", "age": 18, "height": 175} print(test["age"]) ...
分类:
编程语言 时间:
2021-06-05 18:03:04
阅读次数:
0
方法: 1、定义临时变量 2、不用定义临时变量 3、使用位运算符 public class SwapTest { public static void main(String[] args) { int num1 = 10; int num2 = 20; //方式一:定义临时变量的方式 //推荐使用 ...
分类:
编程语言 时间:
2021-06-05 18:02:27
阅读次数:
0
很久以前遇到过这样的问题,最近再次遇到,做个记录。核心代码如下(这里采用Excel导出是EasyPoi): @RequestMapping("/downloadPost") public void downloadPost(HttpServletResponse response) { try { ...
分类:
编程语言 时间:
2021-06-05 17:50:20
阅读次数:
0
create database zuoye; -- 创建数据库 use zuoye; -- 使用数据库 #创建几个库表 create table Student -- 学生表 ( Sno char(3) NOT NULL Primary key , -- 学号 ,设为主键,不允许空值 Sname c ...
分类:
数据库 时间:
2021-06-05 17:46:33
阅读次数:
0
opcenter8的开发方式跟之前的camstar7版本差不多,自带的UI开发上手难度大,调试困难,开发周期变得很长,所以此文章再不添加任何第三方插件的情况下使用系统自带的Angular.js+bootstrap做开发 1.添加WEBAPI支持 添加WebApiConfig.cs public st ...
1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Data.SqlClient; 6 using System. ...
分类:
其他好文 时间:
2021-06-05 17:38:06
阅读次数:
0
WPF public void DataGridBinDingTime(){ List<string> times = new List<string>(); string time = _startTime.SelectedValue.ToString(); string[] arr = time ...
分类:
其他好文 时间:
2021-06-05 17:34:23
阅读次数:
0