|
Subject:
|
how to deal with this problem related with ADO.NET
|
|
Posted By:
|
zouky
|
Post Date:
|
9/17/2004 10:32:31 AM
|
dear experts!!
i am fresh in ASP.NET and ADO.NET programming. i would like to ask about if i want to create a class for only dealing with system.data.sqlclient by initialize on every of its property (Inside including data adapter and data set.)
example: i don't need to build the connection path everytime as new initlializing as i can inherit it on others method which interact with my database. after calling the class and its property, i can strictly go forward and customize my dataset.
I am using MS SQL Server 2000 as my database. what's the first step i should start on, (yeah, certainly should import the right namespace)a class that with all the data connection property, in future even running any data driven method, can just pin-point to this class with specific property.
thank you
|
|
Reply By:
|
r_ganesh76
|
Reply Date:
|
9/17/2004 11:52:29 PM
|
It would be better if you can customize only those methods which you require rather than modifying the enter system.data.sqlclient members
Ganesh
|
|
Reply By:
|
pradeep_itguy
|
Reply Date:
|
10/8/2004 4:30:06 AM
|
The better place to start with and how to design such things is discussed in the Microsoft Data Architecture guide in the following link, you can refer to that
http://msdn.microsoft.com/library/en-us/dnbda/html/BOAGag.asp http://msdn.microsoft.com/library/en-us/dnbda/html/daag.asp http://msdn.microsoft.com/library/en-us/dnbda/html/daab-rm.asp
It is not how much we do, but how much love we put in the doing.
-Mother Theresa
|