Solved

Can I create table adaptor on SQL Server database for web application in Visual Studio 2005?

Posted on 2009-05-18
2
151 Views
Last Modified: 2013-11-26
Using Visual Studio 2005, I have created a new website (not project) on the webserver.   It's working fine.  

Now I added a server connection to a database on the sql 2005server.  

In the past, with VB projects, I've been able to create a datasource for the tables and create table adaptors.  However, when I click on the datasource tab everything is dimmed out and it has no commands available.  Can I not use datasources on a web application?

Thanks!
0
Comment
Question by:okcuser
2 Comments
 
LVL 51

Accepted Solution

by:
Mark Wills earned 500 total points
ID: 24419522
Yes, but you will now need to create a project as a data access layer the content on that web site.

Have a look at : http://www.asp.net/learn/data-access/?lang=cs

They have a lot of good examples, particularly lesson 1 - creating a data access layer. Then they have some good examples further down of how it actually works - might like to jump straight into one of those if you have a bit of experience.
0
 

Author Closing Comment

by:okcuser
ID: 31582740
Thanks!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now