473,626 Members | 3,305 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How about Data Access Application Block

ad
I want to develop DataBase application.

How about Data Access Application Block?
Is it useful?
Nov 16 '05 #1
4 1904
Why don't you try it out? I use it for most all data access. Also helps to
standardize coding style across multiple developers.
My 2 cents!
Peter
"ad" <ad@wfes.tcc.ed u.tw> wrote in message
news:uM******** ******@tk2msftn gp13.phx.gbl...
I want to develop DataBase application.

How about Data Access Application Block?
Is it useful?

Nov 16 '05 #2
"ad" <ad@wfes.tcc.ed u.tw> wrote in message
news:uM******** ******@tk2msftn gp13.phx.gbl...
I want to develop DataBase application.

How about Data Access Application Block?
Is it useful?


Definitely, and the newer "Enterprise Library" release is even better.
http://msdn.microsoft.com/library/de...tml/entlib.asp

Good luck,
Ryan LaNeve
Nov 16 '05 #3
ad
I have tried it, it is some great!
I have a question:
When we use ADO.NET, we must open a connection before use
Command.Execute Reader() to get a DataReader, and then close the conneciton
after go throught the DataReader.
When we use Data Access Application Block, we can use
SqlHelper.Execu teReader to get a DataReader.
Do we need to close a connection after that?

"Peter Bromberg [MVP]" <pb*******@yaho o.com> ¼¶¼g©ó¶l¥ó·s»D
:#T************ **@TK2MSFTNGP09 .phx.gbl...
Why don't you try it out? I use it for most all data access. Also helps to
standardize coding style across multiple developers.
My 2 cents!
Peter
"ad" <ad@wfes.tcc.ed u.tw> wrote in message
news:uM******** ******@tk2msftn gp13.phx.gbl...
I want to develop DataBase application.

How about Data Access Application Block?
Is it useful?


Nov 16 '05 #4
"ad" <ad@wfes.tcc.ed u.tw> wrote in message
news:ut******** ******@TK2MSFTN GP14.phx.gbl...
I have tried it, it is some great!
I have a question:
When we use ADO.NET, we must open a connection before use
Command.Execute Reader() to get a DataReader, and then close the conneciton
after go throught the DataReader.
When we use Data Access Application Block, we can use
SqlHelper.Execu teReader to get a DataReader.
Do we need to close a connection after that?
You don't have to close the connection in either case, but it is good
practise if you're using connection pooling
"Peter Bromberg [MVP]" <pb*******@yaho o.com> ¼¶¼g©ó¶l¥ó·s»D
:#T************ **@TK2MSFTNGP09 .phx.gbl...
Why don't you try it out? I use it for most all data access. Also helps
to
standardize coding style across multiple developers.
My 2 cents!
Peter
"ad" <ad@wfes.tcc.ed u.tw> wrote in message
news:uM******** ******@tk2msftn gp13.phx.gbl...
>I want to develop DataBase application.
>
> How about Data Access Application Block?
> Is it useful?
>
>



Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1832
by: Özgür Aytekin | last post by:
Hello NG Is DAAB 3.1 the offical replacement of Microsoft Data Access Application Block 2.0? DAAB 3.1 download: http://www.gotdotnet.com/Community/Workspaces/viewuploads.aspx?id=c20d12b0-af52-402b-9b7c-aaeb21d1f431 We'll use for our online stock exchange game (www.borsagame.com) a data access application block with source code. But, we are not sure, which one is better. DAAB 3.1 or MS Data Access Application Block 2.0?
0
2220
by: ad | last post by:
I have used Data Application Access Block2 in my web application. Now I download the Library Data Access Application Block. and read the document. May be I am stupid, I can't migrate it to Enterprise Library Data Access Application Block. The code below is the Data Application Access Block 2, How can I modified them? //---------------using Data Application Access Block
2
2207
by: headware | last post by:
I'm relatively new to ASP.NET and ADO.NET, but I have a basic design question regarding the use of web services and APS.NET applications. Right now we have an application that uses web services to access the database layer. However, the code works in a pretty cumbersome and ungeneric way. Basically every query, update, and insert has its own function. So you see a lot of functions like webService.InsertCustomer(name, age, phone); or...
1
1922
by: EO | last post by:
I am trying to use the MSFT data access application block on 3 machines. Machine 1: Sandbox environment; I installed the application block with the msi. The Sqlhelper class compiles & runs great! (Also the SqlhelperParameterCache class; I'll refer to them collectively as the SqlHelper class.) I'm using unmodified application block code in all cases. Machine 2: Development environment, different project
3
1720
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
6
1939
by: Jonathan Crawford | last post by:
Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) +473 Hi I have installed the enterprise library on a development machine and created a project on our webserver. When I run a simple data access page I get an error message. Apparently
2
2499
by: Tim::.. | last post by:
Can someone tell me how you change this code for an Oledb connection rather than SQL Server. The code currently uses Microsoft.Data.Access.Application.Block and the SQLHelper object... I need to use this with an access database! reader = SqlHelper.ExecuteReader(ConfigurationSettings.AppSettings("strConn"), CommandType.StoredProcedure, "rolesForUser", New OleDbParameter("@Username", User.Identity.Name))
6
4140
by: Mukesh | last post by:
Hi I have Microsoft Enterprise Library 2005 installed on my local system. I m also using ASp.net 1.1 And C3 as coding language , I have MS Sql Server 2000. I am developing a web application in which i am using data Access Application Block for data access. I have a remote web n data server with asp.net 1.1 support
3
1811
by: Mukesh | last post by:
Hi all As per my earlier conversation with Ciaran (thx for reply) I have installed the MS APplication block on the server , when i ran Build Enterprise Library file and Install Services from (batch files ) programme files menu it was asking for visual studio 2003 , I have only .net framework on the server how can i use the MS application block data access library on my server plz help... Mukesh Agarwal
0
8262
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8637
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8364
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7192
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6122
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5571
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4090
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4196
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2623
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.