Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys,

Maybe someone of you can help me with that problem.

I have written a background task which gets several workers out of a database.
In the database I added to each worker the name of the function which should get called.

But I am not sure how to call that function from vb.net.

It would be awesome if someone of you can give me a hint :)

thanks
Cheers
Arthur
Posted
Comments
[no name] 20-Jul-14 10:48am    
Sounds to me like a bad design but I *think* what it is that you are wanting to do is get the actual function by Reflection.
Member 9500954 20-Jul-14 10:53am    
if i may ask: how would you design that? I am open for any thoughts :)
[no name] 20-Jul-14 11:23am    
How I would design what? I have never heard of anyone at any time storing workers in a database so I would have no idea what it is that you have done or what you are attempting to do.
Dave Kreskowiak 20-Jul-14 11:24am    
None of this makes any sense at all considering databases store DATA not "WORKERS", whatever that means.

You cannot call a method in your application from the SQL Server. Newer versions of SQL Server, however, can use what are called CLR Stored Procedures. https://www.google.com/#q=sql+server+clr+stored+procedures
nilesh sawardekar 20-Jul-14 11:41am    
please explain what you want by considering we dont know your back history of your program..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900