从数据库中获取值并将其存储在数组中 [英] Fetch values from database and store it in array

查看:82
本文介绍了从数据库中获取值并将其存储在数组中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我正在发送一些值(注册表单:: firstname,lastname,title,organization)

使用javamail发送邮件id同时它应该存储在数据库中,我的问题是如何从数据库中获取值并将其存储在数组中。


我急需,请帮助我。




提前谢谢。

Hi,

I am doing send some values(signup form::firstname,lastname,title,organization)
to mail id using javamail at the same time it should store in database, my problem is how to fetch values from database and store it in array.

I need urgently ,Please help me.




thanks in advance.

推荐答案





我正在发送一些值(注册表单:: firstname,lastname,title,organization)

使用javamail同时发送邮件id它应该存储在数据库中的时间,我的问题是如何从数据库中获取值并将其存储在数组中。


我急需,请帮助我。






提前谢谢。
Hi,

I am doing send some values(signup form::firstname,lastname,title,organization)
to mail id using javamail at the same time it should store in database, my problem is how to fetch values from database and store it in array.

I need urgently ,Please help me.






thanks in advance.



您可以使用JDBC连接到数据库。你对它有什么了解吗?

You can connect to a database using JDBC. Do you know anything about it?



你可以使用JDBC连接数据库。你对此有所了解吗?
You can connect to a database using JDBC. Do you know anything about it?



到目前为止你发布的代码。

然后专家来这里解决你的问题。

And记住,当你发布代码时,不要忘记使用代码标签。

请在发布前阅读指南。

OK。

祝你好运。


亲切问候,

Dmjpro。

Post the Code so far you did.
Then experts are here to solve your problem.
And remember, while you posting the code then don''t forget to use Code Tag.
Please read the guidelines before Posting.
OK.

Best of luck with your try.

Kind regards,
Dmjpro.




我在这里发布代码,

Hi,
I post the code here,

展开 | 选择 | Wrap | 行号


这篇关于从数据库中获取值并将其存储在数组中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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