Solved

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

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

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

16 Experts available now in Live!

Get 1:1 Help Now