Create a webparts & Use It

Step 1. Click start->all program->administrative tools-> "sharepoint 3.0 central administration".

Step 2. Click On site "create collection under application management".

Step 3. Put Title,Url Name,User name & select blank site under collaboration tab.

Step 4. Click On The created link.

Step 5. File -->new project -->C# -->Class Library -->Name it "Litware".

Step 6. Add Reference -->System.web

Step 7. Rename Class1.cs to Hello.cs

Step 8. Set output path

Step 9. Build the solution

Step 10. Open File->web.config from c:\inetpub\wwroot

Step 11. Add the last Line

Step 12. Goto sharepoint generated site created on step2

Step 13. Click site action->site setting->gallaries->web parts

Step 14. Click -->New -->select Litware.Hello -->populate gallery

Step 15. It will now populate in the existing page,click "Edit" to view the content as XML

Step 16. Go to Home,Click Site Action -->Edit Page -->Add Web Parts -->select Hello -->click Add

You can now show the content of webparts