如何连接网站数据库 [英] how to connect website database

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

问题描述



我最近使用OpenCart完成了一个网站,我想将它与我的visual studio项目连接起来,以便在我的桌面应用程序上获取状态,我现在只需要连接它。

需要连接到网站数据库的代码,这允许我从网站获取数据。







感谢和问候



M Nadeem

Hi,
I recently completed a website using OpenCart now I want to connect it with my visual studio project to get states on my desktop application, I just need to now how to connect it.
need code of connection to the website database which allows me to get data from the website.



Thanks & Regards

M Nadeem

推荐答案

如果您需要访问您需要访问为opencart配置的数据库的opencart数据。可能是MySql数据库,您需要有有效的用户名和密码才能从.net程序连接。 Google通过指定数据库名称以及要编程的语言来获取教程。作为第一步,尝试研究并通过.net应用程序进行小应用程序检查与数据库的连接,如果您遇到错误或问题,找不到解决方案,请来这里询问您的代码和问题详细信息。祝你好运!
if you need to access data of the opencart you need to access the database which you have configured for opencart. May be it is MySql database and you need to have valid username and password to connect from .net programme. Google for tutorial by specifying your database name and which language you going to program. as first step, try study and do small application to check the connection to database via .net application, if you have errors or issues which you couldn't find solution, come here and ask question with your code and the problem details. good luck!


这篇关于如何连接网站数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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