I write an Asp.net webservice. In that one service method is there. If any error or exeption is raised then i used to display erromessage on screen. How could i set status code to 500 or 400 for a webservice return call.Can anybody tell me?
I am using asp.net smtp class to send e-mail. I have application in that i am attaching an attachment with size more than one MB. Then asp.net smtp is failing to send email. If in case of less size than 1mb it is sending emails. If anybody know the solution could you please suggest me a solution.
Last Visit: 31-Dec-99 18:00 Last Update: 28-Jul-15 18:24