Solved

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

Posted on 2009-05-18
2
153 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
In this article I will describe the Backup & Restore 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.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

777 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