I'm pretty sure that you can't do that in ASP.NET.
Voice recording would be a client side interaction, so you would need a client side language to do that. I have no idea if it is possible in Javascript, but I know you can do it in Flash. You may also be able to do it in Silverlight.
But all ASP.NET happens on the server, and has no access to anything on the client computer except cookies.
I've never, in my small time developing websites, heard of or seen javascript interacting with microphones, or webcams for that matter. Flash, however, would do it wonderfully. It has it's own Microphone class, actually.
Hello,
Though it is using flash,
I want the source to record my voice using microphone.
I want to record,stop,pause,save,open for recording the files.
Please help me any how? in asp.net2.0 using c#.