-
java操作数据库的一些常见用法
该简单项目给出了如何利用Java语句操作数据库MySQL的基本语句
包含有初始化部分,数据库链接部分
public class ConnMysql {
private static final String DBDRIVER="com.mysql.jdbc.Driver";
private static final String DBURL="jdbc:mysql://localhost:3306/mldn";
private static final String DBUSER="root";
private static final String DBPASS="root";
public static void main(String []args) throws Exception{
Class.forName(DBDRIVER);
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-04-23 12:54:32下载
- 积分:1
-
JAVA校园论坛系统源码(含数据库脚本)
注册,登录,发帖,点赞,搜索,评论,后台管理等功能
- 2020-02-11下载
- 积分:1
-
打地鼠游戏的源码
资源描述简单的打地鼠源代码,是我自己写的希望对刚入门的同学有所帮助。
- 2022-05-05 08:12:48下载
- 积分:1
-
安卓flv视频播放器例子源码下载
安卓视频播放器,选择视频即可播放
- 2015-03-26下载
- 积分:1
-
超市购物车
用Java编写的简单功能的超市购物系统。可以购物车的结算,找零等功能。对初学java的同学很有帮助
- 2022-06-13 07:37:11下载
- 积分:1
-
listviewheSQLitezhishi
注意:本项目是基于android studio开发的,eclipse可能无法直接使用。
本项目是一个简单的基于安卓的记事本项目源码,添加或删除数据的时候会出现显示bug(实际数据不会受到影响),bug体现在添加或删除一条数据以后会在listview里面会展示复制一遍操作后的数据。而不会清除原有的列表文本。新手朋友可以拿这个项目来试试手感,顺便看看能不能独立解决这个问题。
本项目涉及的知识点有:
1、SQLite的基本使用,增删查改
2、listview,adapeter的基本使用
3、activity生命周期
4、intent、bundle传递参数
5、AlertDialog的基本使用(Note: this project is based on the development of studio eclipse, Android may not be able to directly use.
This project is a simple Notepad program source code based on Android, add or delete data will appear when the display bug (actual data will not be affected), bug reflected in add or remove a data will be in inside the listview will show copy again after the operation data. And will not clear the original list of text. Novice friends can take this project to try to feel, by the way to solve this problem can not be solved independently.
The knowledge points involved in this project are:
1, the basic use of SQLite, CRUD
2, listview, the basic use of adapeter
3, activity life cycle
4, intent, bundle transfer parameters
5, the basic use of AlertDialog)
- 2016-07-25 11:25:09下载
- 积分:1
-
specialEffects
android 的一些功能特效 很实用的。(android special effects)
- 2012-11-24 20:54:26下载
- 积分:1
-
个人主页部分源码
这是一个简要的个人主页系统,采用了经典的MVC模式开发,后台数据库采用的是Oracle,软件层次清晰,容易读懂,适合初学者来学习和阅读,此外,里面还涉及到了一些简单的css和js,希望能对大家有所帮助。
- 2022-02-06 16:48:39下载
- 积分:1
-
基于Matlab的多频外差模拟程序
本程序是记忆李中伟博士的博士论文来实现;Matlab仿真代码;测试通过;
- 2019-04-16下载
- 积分:1
-
factory设计模式
本工程详细的演示了Factory 设计模式,在项目开发中经常会用到该模式。Factory模式主要功能:1、为创建对象提供接口;2、把对象实例化的工作延迟到子类中完成。具体看代码:
- 2022-04-27 09:37:46下载
- 积分:1