@ ashish
Dude i said in a very healthy way & i even wrote thanks after that.May be i used the wrong words
Ok i'l try writing that problem.i hope u guys understand.
THE PROBLEM WAS THAT ODIN WAS STUCK AT "SETUP CONNECTION"
Im assuming that u have installed new pc studio on ur pc.
In your phone,
go to settings->about phone->additional settings & uncheck the "connect only in USB mode".
Then connect your phone to your pc & it will install the remaining imp. drivers(i.e usb modem,adb etc.)
Then follow the flashing procedure & it will work.
If need any help,feel free to ask.
ps- after the usb modem drivers installed,device manager still showed "samsung mobile modem" but the flashing wil work