Hey thnx for the reply...
Actually my classes were not bindable thats why this error was coming.
Now its working fine. Thnx anyways.