I am new to MOSS 2007 and webparts development.
Does anyone have a sample webpart code developed in VS2005 for MOSS 2007 that renders actual controls(textbox/dropdown for input and command buttons) The sample web part articles out there just do simple writer.Write(). They are not really practical examples to build off.
A website reference will be fine was well.
Thanks in advance.

WebPart Sample
sqlduck
The following is a link detailing development for SPS 2003, it should give you the information that you need...
Developing Web Parts for SharePoint Portal Server 2003 in .NEThttp://www.devx.com/dotnet/Article/17518/0/page/1
Sean P. Jensen
Check out the book "Seven Development Projects for Microsoft Office SharePoint Server 2007 and Windows SharePoint Services", which you can find here:
http://download.microsoft.com/download/0/2/f/02f0f661-88e1-43c2-b523-88d2e9e6802f/7%20Development%20Projects%20with%20the%202007%20Microsoft%20Office%20System%20and%20Windows%20SharePoint%20Services%202007.pdf
It has some more examples of webparts.