CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: Date Entered: 12/16/2005 11:19:42 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 3 Views: 40 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
"Webature" <>
NewsGroup User
Data Access Layer in VS200512/16/2005 11:19:42 AM

0

Hi,

I want to develope applications using layers (BLL/DAL/Model).

In VS2003 I used components creating Data Access layers because it was very easy to create. I used "Data Component Query Configuration Wizard" to connect to the database in Component files that's available in VS2003. In VS2005 it seems like it's no longer possible to choose component files.

In MS eLearning Course 2924 it is a description on how to use "Data Component Query Configuration Wizard" but you have to use "Data Source designer" first which is available in the Data menu -> "Show Data Source". However "Show Data Source" is not available in my Data menu. I have made a connection in the Server Explorer.

So how to start the "Data Source designer" is a big mistery to me. Perhaps it is because I'm using C#.NET and not Visual Basic.NET?

If anybody have a greate solution on a safe and performance friendly way to connect to databases - please let me know!

Kind regards,

Jon Haakon Ariansen

"eramseur" <>
NewsGroup User
Re: Data Access Layer in VS200512/17/2005 11:44:36 PM

0

I would suggest using the ObjectDataSource as this is how enterprise applications will use the middle tier to create real DALS.  Also store your DAL/BLL in the app_code directory to be auto compiled.

resources : http://eramseur.blogspot.com/2005/11/middle-tier-object-data-source.html


Eric Ramseur
Rainbow Portal 2.0 Admin
Download Rainbow 2.0!!
Rainbow Code
Rainbow Portal Community
C# 2005 Group
"ScottGu" <>
NewsGroup User
Re: Data Access Layer in VS200512/18/2005 1:27:14 AM

0

If you choose "Add New Item" and select "DataSet", it will bring up the data component designer.  This will help you with building your DAL component as well.

Hope this helps,

Scott

"BradMi" <>
NewsGroup User
Re: Data Access Layer in VS200512/21/2005 11:03:56 PM

0

I recommend that you look through thr Quickstart samples on binding to objects to see how to connect web data source controls to DataSet components in Visual Web Developer.

http://www.asp.net/QuickStart/aspnet/doc/data/objects.aspx

Hope this helps,
Bradley

4 Items, 1 Pages 1 |< << Go >> >|




   
  Privacy | Contact Us
All Times Are GMT