通过jbutton与数据库链接 [英] Linking up with database from a jbutton

查看:124
本文介绍了通过jbutton与数据库链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我是Ronke,是该论坛的新手,也是Java Netbeans的新手.我的表格上有一个按钮.每当按钮被单击时,我都希望该按钮连接到数据库.我正在使用NetBeans 6.8版本中嵌入的MySQL数据库.请我怎么做?
感谢您的支持.期待尽快阅读您的表格.谢谢.

Good day everyone,
I am Ronke, am new in this forum and also new to Java Netbeans. I have a button on my form. I want the button to connect to the database whenever the button is clicked. I am using the MySQL database embedded inside of NetBeans 6.8 version. Please how do i go about this?
Thank you for your anticipated support. Looking forward to read form you soon. Thank you.

推荐答案

创建一个函数,当他单击jbutton时,它将调用该函数...
make a function that when he clicks to the jbutton it will call the function...


这篇关于通过jbutton与数据库链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆