I have a code for ERP that I need to use it in my Asp.NET application. I don't want to migrate, I just want to use the code as it is. Please help, I know it is possible.
you can't reuse any PHP code in ASP.NET. At least not directly. Maybe you can consume it as Web Service or something but not as code. I am so sorry!
if you want to use mysql with c#, you need to connectors that could download from mysql site. anyway you cant use any php code in asp.net
PHP can not be used with asp.net. However, it is possible to have PHP and asp.net pages in the same folder on the windows web server. You can populate/operate the same MySQL database and can pass information from php page to asp.net page or vice versa through query strings. Sessions can not be shared.