I'm developing a web application, using ASP.net and C#
need to provide a functionality through which users can pay through their cards (Credit card, Master card, Visa card, Debit card etc.)
how do i process a transaction, means that when user enter payment details and click on pay button,
I never handle payments before, so where do i start with?
You need a third party company to process the payments. PayPal is popular, FDMS, or talk to your bank to see what solutions they offer. Usually these come with an API document or some code libraries to help you start.
And be sure to be aware of PCI-DSS security requirements for merchants. They can make your project more complex than you can solve with code. =)