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
Printable View
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
First, learn how to create a DLL
http://www.c-sharpcorner.com/2/pr12.asp
can this DLL be used in .aspx pages as well....can u plz guide..
Yes, you simply add a reference to it.
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..! :afrog:
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. :cry:
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.Quote:
Originally Posted by mendhak
:duck:
[couldn't resist the duck. it may have powers]
OK - and then what?????Quote:
Originally Posted by mendhak
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.
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.