Wrox Programmer Forums
|
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 12th, 2005, 04:10 PM
Authorized User
 
Join Date: Feb 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP.NET function in VS 2005 B1

Hello,
I have downloaded VS.Net 2005 Beta1 and noticed that when I open a new project in C# and VB, there is no ASP.NET template. There is one in C++ and I am having difficulty. I have an Access data base and just wish to display a table in a webform. In VS 2002 I would drag an OLEDB connector onto the aspx form(design view), generate a data set, create a query and so on. I have tried to do this with C++ in VS 2005 and can't get a webform to appear. The data base is trivial and on my machine. Can anyone help me proceed with this. I wanted to use C#.
Thank you. Joe

 
Old April 21st, 2005, 07:50 AM
Friend of Wrox
 
Join Date: Apr 2005
Posts: 186
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi,

Instead of a creating a new Project create a Web Site (File->New menu item.)
Choosing that particular option opens a dialog with the expected ASP.NET Web Site, ASP.NET Web Service projects and next the language (vb/C#).

To display a table in a webform:
1) Place an AccessDatasource control from the toolbox
2) Set the connection & SelectCommand properties
3) Place a GridView control and set the DatasouceID to the AccessDatasource control

Now run the page

Prashant











Similar Threads
Thread Thread Starter Forum Replies Last Post
vb.net 2005 function wymiller .NET Framework 2.0 2 August 12th, 2007 12:23 PM
Upgrading ASP w/ SQLserver 2000 to ASP.NET w/2005 cJeffreywang ASP.NET 2.0 Basics 1 April 5th, 2007 11:30 PM
send MASS Emails in ASP.NET 2 with VB.NET 2005 alexdcosta ASP.NET 2.0 Basics 1 July 17th, 2006 12:31 AM
CrystalReport.net VisualStudio 2005 ASP.net (VB) pgkdave Crystal Reports 0 June 16th, 2006 09:39 AM
ASP.NET project icons VS 2005 B1 boksi General .NET 2 April 14th, 2005 05:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.