Hi Sandeep,
you search on vCampus for PI white papers. You will get a document called "vCampus Library_White Papers and Tutorials_PI WebParts_Tutorial - Creating Custom Web Parts.pdf" you will be able to create connectable webpart.
Thanks,
Vivek Gupta