I have created a silverlight webpart and I need to send an email when the form is submitted. I have written a sql stored procedure to send the mail. How can I can the stored procedure from silverlight web part?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’ll need to create a WebService in your backend code that actually calls the stored procedure, and in your Silverlight app you call that webservice. Remember that Silverlight runs on the client (usually the browser), so any database access code should be done in the server, and access as a service.