|
-
Apr 22nd, 2003, 07:30 PM
#1
Thread Starter
PowerPoster
Microsoft Data Access Block For SQL Server
If you are planning on developing an application that uses sql server as your back-end, you gotta check out this component that Microsoft built for free distribution.
http://www.msdn.microsoft.com/archit...ml/daab-rm.asp
Summary
The Data Access Application Block is a .NET component that contains optimized data access code that will help you call stored procedures and issue SQL text commands against a SQL Server database. It returns SqlDataReader, DataSet, and XmlReader objects. You can use it as a building block in your own .NET application to reduce the amount of custom code you need to create, test, and maintain. The download provides full C# and Visual Basic .NET source code and comprehensive documentation.
-
Apr 22nd, 2003, 09:14 PM
#2
PowerPoster
That is great.
I have been using one I got from a book called ASP.NET Website Programming from Wrox. I suggest people download the project at (C#):
http://web.wrox.com/download/code/pr...34download.zip
The VB.Net version of the code is here:
http://web.wrox.com/download/code/pr...63_code_v7.zip
It is a relatively good example on how to build a ASP.Net application with a lot of thought about maintainability. It is great for helping you start thinking and designing those bigger ASP.NET projects. The book is good, it assumes you know how to program though, it isn't a beginner book.
-
Apr 26th, 2003, 06:44 PM
#3
PowerPoster
Here is some more information on the 'blocks' as MS puts it:
http://builder.com.com/article.jhtml...crg&rcode=u001
-
Apr 29th, 2003, 08:57 PM
#4
PowerPoster
Everyone that works with SQL Server, you really need to check out the data access block. I just got around to actually looking at what it provides, and I tell you what, it is well organized, well written and commented, and saves you a lot of time. It is reusable in every project you do so it will save more time later on.
At least take a good look at it. I was writing something similar when I decided to look at it. Glad I did, saved me a lot of time.
-
Sep 24th, 2003, 09:08 AM
#5
PowerPoster
Just wanted to bump this thread up and tell everyone that MS now has a version 2 of this block. Awesome, it now supports typed ds's.
-
Feb 5th, 2004, 11:00 AM
#6
New Member
sounds excellent but my visual studio wont even let me connect to the sql server......get a 'catastropic error' or 'cant initialise provider'
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|