المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How to Execute C# / SQL statement in outlook



C# Programming
04-06-2009, 10:41 AM
Hi,

I have a system web page (c#) that is running within the company there is one process in the system that needs approval from vendor/supplier within the company (separate office). The request is that thay just want to receive email notification for approval using MS outlook and then there are 2 buttons (approved/reject) either of the two should execute the SQL statement that will update the flag of the record table.

Any suggestions on how to do it?

My solution:
I created a web page where all the updates for approve/reject was there. I can send outlook message to the users with 2 buttons. Once he click either of the two it will run the web page and should execute the SQL statement. Unfortunately, nothing happen. At the same time the web page should close automatically.

Regards

Dabsukol