Visual Studio 2008中的C#连接 [英] c# connectivity in visual studio 2008

查看:93
本文介绍了Visual Studio 2008中的C#连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

晚上好...
请告诉我如何将表单与数据库连接....

good evening...
please tell me how to connect form with database....

推荐答案

这将取决于数据库类型以及所需的连接类型. br/> 是Access DB,SQL,mySQL或XML假装成数据库吗?

您要将其绑定到控件还是直接访问它?

连接后要如何处理?

您要LINQ还是SQL查询?

我认为您需要进一步阅读课程手册中有关数据库基础知识"的部分!
That will depend on what kind of database it is, and what kind of connection you want.
Is it Access DB, SQL, mySQL, or XML pretending to be a database?

Do you want to bind it to controls, or access it directly?

What do you want to do with it when you are connected?

Do you want LINQ, or SQL queries?

I think you need to look at the section in your course book on "database essentials" before you go any further!


这篇关于Visual Studio 2008中的C#连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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