码迷,mamicode.com
首页 >  
搜索关键字:public void __cdecl    ( 122950个结果
C# WinForm TextBox 只能输入数字【正则替换】
private void txtMaxCount_TextChanged(object sender, EventArgs e) { //替换非数字 this.txtMaxCount.Text = Regex.Replace(this.txtMaxCount.Text, @"[^\d]*", "") ...
分类:Windows程序   时间:2021-06-05 18:15:46    阅读次数:0
C# 生成随机数
#region 生成随机字符串 /// <summary> /// 生成随机字符串 /// </summary> /// <param name="length">字符串的长度</param> /// <returns></returns> public static string CreateRa ...
分类:Windows程序   时间:2021-06-05 18:13:35    阅读次数:0
C# Unicode 转中文
#region Unicode 转中文 /// <summary> /// Unicode 转中文 /// </summary> /// <param name="text"></param> /// <returns></returns> public static string UnicodeT ...
分类:Windows程序   时间:2021-06-05 18:12:53    阅读次数:0
JavaSe - 基础 - 关于static代码块
经常忘记 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
java中交换两个变量的值有哪几种方法
方法: 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
java使用jsoup时绕过https证书验证
详细错误信息: SunCertPathBuilderException: unable to find valid certification path to requested target 问题原因:爬相关数据,因该网站有SSL加密,故无法爬取。 问题解决之核心代码: /** * 绕过HTTPS ...
分类:编程语言   时间:2021-06-05 17:50:45    阅读次数:0
JavaWeb之Response文件下载(中文编码问题)
很久以前遇到过这样的问题,最近再次遇到,做个记录。核心代码如下(这里采用Excel导出是EasyPoi): @RequestMapping("/downloadPost") public void downloadPost(HttpServletResponse response) { try { ...
分类:编程语言   时间:2021-06-05 17:50:20    阅读次数:0
opcenter8 使用webapi+Angular.js+bootstrap 开发
opcenter8的开发方式跟之前的camstar7版本差不多,自带的UI开发上手难度大,调试困难,开发周期变得很长,所以此文章再不添加任何第三方插件的情况下使用系统自带的Angular.js+bootstrap做开发 1.添加WEBAPI支持 添加WebApiConfig.cs public st ...
分类:Windows程序   时间:2021-06-05 17:46:08    阅读次数:0
【每日一题】41. 德玛西亚万岁 (状态压缩DP)
补题链接:Here 经典状压DP问题 坑点,注意多组输入。。。 const int N = 16, mod = 100000000; int f[N][1 << N]; int a[N]; void solve() { int n, m; while (cin >> n >> m) { memset ...
分类:其他好文   时间:2021-06-05 17:40:05    阅读次数:0
2.0注册界面
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
122950条   上一页 1 ... 36 37 38 39 40 ... 12295 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!