i just want to know, what is much better to do for data access? include the database to my solution (tools>connect to database), or just hardcode everything?

somebody reply please. thanks

>what is much better to do for data access?

You have a no choice at all. Use ADO.NET providers.

>include the database to my solution (tools>connect to database)

That way Visual studio connects to that database and explore database objects.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.