- 博客(2)
- 收藏
- 关注
转载 js获取浏览器窗口大小(调样式中,,,)
JS 获取浏览器窗口大小 // 获取窗口宽度 if (window.innerWidth) winWidth = window.innerWidth; else if ((document.body) && (document.body.clientWidth)) winWidth = document.body.clientWidth; // 获取窗口高度 if (window.innerHe
2017-08-25 09:34:51
446
转载 数据库连接通过getcolumns()函数获取表字段信息
1. JDBC连接数据库的代码很标准,很简单。 class.forName("com.mysql.jdbc.Driver").newInstance(); Connection conn = DriverManager .getConnection("jdbc:mysql://localhost/test?user=root&password=123456"); 2. 下面就是获
2017-08-07 16:04:53
14427
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人