Its the first time i am hooking up my application to a database. I basically want to execute one of the stored procs and use the parameters returned from the proc. (Proc is just a simple select). I am able to connect to the DB and execute the proc but i don't know how to use the parameters thereafter. Can anyone help? I want to use what was selected in the proc in the IF statement of my code below.
I was able to solve the issue. The stored proc runs and returns the data. i Can display some of the parameters on my client that i have dev'd except for the image. I am storing an image in the DB as varbinary(max). im not sure how to use that parameter in my c++ code and set the picture box to display that image which the proc returns? Any ideas?