|
-
Mar 30th, 2005, 04:38 AM
#1
Thread Starter
Addicted Member
dll to connect DB
Dear All
i want to create a dll which functions to connect database and bring some data from the dataBase
how do i do that.???
i need steps in general
1,2,3.....etc.
thnks alot
-
Mar 30th, 2005, 04:43 AM
#2
-
Mar 30th, 2005, 06:07 AM
#3
Member
Re: dll to connect DB
can this DLL be used in .aspx pages as well....can u plz guide..
-
Mar 30th, 2005, 06:29 AM
#4
Re: dll to connect DB
Yes, you simply add a reference to it.
-
Mar 30th, 2005, 09:47 AM
#5
Member
Re: dll to connect DB
ok....
one thing for 'Mendhak'...if u dont mind, what does it actually mean('Mendhak')...it sounds like indian version of Frog....is it the same..!
-
Mar 30th, 2005, 09:54 AM
#6
Re: dll to connect DB
Yes, I was told it's the Kashmiri word for frog. Later, the person who told me this set himself on fire in a washing machine.
-
Mar 31st, 2005, 03:28 PM
#7
Member
Re: dll to connect DB
 Originally Posted by mendhak
Yes, I was told it's the Kashmiri word for frog. Later, the person who told me this set himself on fire in a washing machine. 
I hate when that happens. BTW, your sandpaper site is hilarious...was checkin' it out a few weeks ago. Would be interested in what techniques/study methods you used for your certs as I am exploring MCAD.
[couldn't resist the duck. it may have powers]
-
Mar 31st, 2005, 04:02 PM
#8
Thread Starter
Addicted Member
Re: dll to connect DB
 Originally Posted by mendhak
OK - and then what?????
-
Mar 31st, 2005, 04:06 PM
#9
Member
Re: dll to connect DB
I would imagine that if you know how to create the code to retrieve data from a DB, and know how to create the DLL - the rest is pretty apparent. Your code (non dll - your codebehind i would assume if youre using vs.net) wil contain whatever parameters you have chosen to have your DLL grab. I would imagine this is somethin like..
what db youre going to
credentials
table name/query
..that is just an example. Then you have your DLL run the actual code to do the query, and return the information back to your codebehind. The only actual tricky part if you havent' done before is creating and utilzin the DLL.
-
Mar 31st, 2005, 11:39 PM
#10
Re: dll to connect DB
Yes, what he said. You'd use the DLL's functions to return datasets to the calling program, work with those values, and use the DLL to update the database again.
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
|