码迷,mamicode.com
首页 >  
搜索关键字:for input string 0    ( 126666个结果
java-操作mysql数据库
package com.java1234.util; import java.sql.Connection; import java.sql.DriverManager; public class DbUtil { private String dbUrl="jdbc:mysql://localho ...
分类:数据库   时间:2021-05-24 00:29:07    阅读次数:0
有效Ajax案例
<script>$(document).ready(function(){ $("input:submit").click(function(){ $.ajax({ type: "POST", url: "Ajax", contentType: 'application/x-www-form-url ...
分类:Web程序   时间:2021-05-24 00:25:30    阅读次数:0
go语言中的try、catch、throw实现
func (o *MsSqlUtils) ExecuteSql(cmd string) (err1 error, affected int64) { defer func() { //必须要先声明defer,否则不能捕获到panic异常 if err2 := recover(); err2 != n ...
分类:编程语言   时间:2021-05-24 00:20:08    阅读次数:0
JavaDoc生成文档
命令行 JavaDoc 生成文档 // 加在类上就是类注释 加在方法上面就是方法注释 // @author 作者名 // @version 版本号 // @since 指明需要最早使用的jdk版本 // @param 参数名 // @return 返回值情况 // @throws 异常抛出情况 /* ...
分类:编程语言   时间:2021-05-24 00:17:56    阅读次数:0
XML 文件解析
XML 文件解析 public DataTable XMLParse(string POAddFile) { DataTable addDt = _GetPOAddTable(); FileStream fr = null; try { XmlDocument doc; doc = new XmlD ...
分类:其他好文   时间:2021-05-24 00:15:21    阅读次数:0
通过调用cmd.exe 连接磁盘
调用cmd.exe 连接磁盘 public string connectFTP(string vPath, string vUID, string vPassword) { string errormsg = ""; Process proc = new Process(); try { proc. ...
分类:其他好文   时间:2021-05-24 00:14:58    阅读次数:0
Delphi UniCode转汉字(\u 格式)、汉字转UniCode(\u 格式)
Delphi UniCode转汉字(\u 格式)、汉字转UniCode(\u 格式) 1、UniCode转汉字 function UnicodeToChinese(sStr: string): string; var i: Integer; index: Integer; temp, top, la ...
分类:Windows程序   时间:2021-05-24 00:03:23    阅读次数:0
Gradle 使用@Value注册编译报错
报错信息:Expected '$(student - name)' to be an inline constant of type java.lang.String in @org.springframework.beans.factory.annotation.Value 这样使用会报错,原因是 ...
分类:其他好文   时间:2021-05-24 00:03:03    阅读次数:0
偶然发现在java方法中可以定义类
JdbcTemplate的源码 注意QueryStatementCallback 是一个类。 public Object query(final String sql, final ResultSetExtractor rse) throws DataAccessException { if (sq ...
分类:编程语言   时间:2021-05-23 23:56:56    阅读次数:0
「图论」第4章 强连通分量课堂过关
「图论」第4章 强连通分量课堂过关 A. 【例题1】有向图缩点 题目 代码 #include <iostream> #include <cstdio> #include <cstring> #include <queue> using namespace std; #define N 10010 # ...
分类:其他好文   时间:2021-05-23 23:52:43    阅读次数:0
126666条   上一页 1 ... 58 59 60 61 62 ... 12667 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!