Check this out

http://www.codeproject.com/dotnet/UIPAB1.asp