如何从 XPage 访问 SQL [英] How do I access SQL from XPages
本文介绍了如何从 XPage 访问 SQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
从 SQL 数据源访问数据并将其填充到列表框控件中以便用户可以选择其中一个值的过程是什么?
What is the process to access data from a SQL data source and have it fill in a list box control so that the user may select one of the values?
我已经获得了数据库和服务器的名称、登录 ID 和密码.
I have been given the name of the database and server, the login ID and password.
代码示例将不胜感激,因为我从未做过任何 SQL 编码.
Code samples would really be appreciated as I have never done any SQL coding.
推荐答案
我创建了一个视频,展示了 XPage 的 JDBC 访问:http://www.youtube.com/watch?v=p6oRCsTsVqc
I've created a video showing JDBC access from XPages: http://www.youtube.com/watch?v=p6oRCsTsVqc
这篇关于如何从 XPage 访问 SQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文