Hello All, Today, I was trying to add a custom validator to my page, as we know that Page.IsValid is responsible to run all validators attached to page. Following Code snippet will create a custom validator on the fly: In …
Tag Archives: asp.NET
Adding Custom Validator run-time to your page and throw Data driven Error to page
SEO friendly url in ASP.NET
What is SEO Friendly URL? URL Rewriting makes your website SEO Friendly, more meaningful and independent to website’s resource. it works on web-server. How it works? Step1: Browser hits SEO Friendly URL to server. Step2: Server apply rewrite rule defined …
Calling a stored procedure from ASP.NET c# website/application
Hello All, To call a stored procedure you need to set CommandType property of SQLCommand to CommandType.StoredProcedure. Following is the sample code for the same:- Any ?’s, Please let me know. Thanks.
Debugging ASP.NET website from remote/client machine
Please opt following steps to debug An ASP.NET website from a remote/client instance. define/create your breakpoints on the code which you want to debug. go to tools>attachprocess. select process named as w3wp.exe [if there are more than one w3wp.exe processes, …