I used PHP, but presently i m creating a site in ASP , in which in I used to .htaccess file for uploading 301 redirect code,but in ASP i couldn't find the .htaccess file can any one tell me which file we used for uploading .htaccess file content.
You will need to check which version of IIS your server is running. If its IIS 7 then you create your rules in your web.config file (rather than .htaccess). Have a look at: http://learn.iis.net/page.aspx/557/translate-htaccess-content-to-iis-webconfig/
are you using a shared host, dedicated server or hosting the site yourself? with my host i just upload the .htaccess file to the root directory and it controls all requests (that is a shared asp.net host) ...