4.1. Creating a Simple RSS Feed Web Part4.1.1. Recipe Type: Web Part4.1.2. Ingredients4.1.2.1. Assembly References4.1.2.2. Class Library References4.1.3. Special Considerations4.1.4. Preparation4.1.5. Process Flow4.1.6. Recipe—VB (See Project RSSWebPartVB, Class RSSWebPartVB.vb)4.1.7. Recipe—C# (See Project RSSWebPartCS, Class RSSWebPart.cs)4.1.8. To Run4.1.9. Variations4.2. Creating an XML Web Part4.2.1. Recipe Type: Web Part4.2.2. Ingredients4.2.2.1. Assembly References4.2.3. Special Considerations4.2.4. Preparation4.2.5. Process Flow4.2.6. Recipe—VB (See Project XMLWebPartVB, Class XMLWebPart.vb)4.2.7. Recipe—C# (See Project XMLWebPartCS, Class XMLWebPart.cs)4.2.8. Recipe—XML Document (See Project XMLWebPartCS, File SampleXMLSource.xml)4.2.9. Recipe—XSLT4.2.10. To Run4.2.11. Variations4.3. Creating a SQL Web Part4.3.1. Recipe Type: Web Part4.3.2. Ingredients4.3.2.1. Class Library References4.3.3. Special Considerations4.3.4. Preparation4.3.5. Process Flow4.3.6. Recipe—VB (See Project SQLWebPartVB, Class SQLWebPart.vb)4.3.7. Recipe—C# (See Project SQLWebPartCS, Class SQLWebPartCS.cs)4.3.8. Recipe—XSLT (See Project SQLWebPartVB, File Presidents.xslt)4.3.9. To Run4.3.10. Variations4.4. Creating a Page Viewer Web Part4.4.1. Recipe Type: Web Part4.4.2. Ingredients4.4.2.1. Class Library References4.4.3. Special Considerations4.4.4. Preparation4.4.5. Process Flow4.4.6. Recipe—VB (See Project PageViewerWebPartVB, Class PageViewerWebPartVB.vb)4.4.7. Recipe—C# (See Project PageViewerWebPartCS, Class PageViewerWebPartCS.cs)4.4.8. To Run4.4.9. Variations4.5. Creating a Connectable Page Viewer Web Part4.5.1. Recipe Type: Web Part4.5.2. Ingredients4.5.2.1. Class Library References4.5.3. Special Considerations4.5.4. Preparation4.5.5. Process Flow4.5.6. Recipe—VB (See Project ConnectablePageViewerVB, Class ConnectablePageViewerVB.vb)4.5.7. Recipe—C# (See Project ConnectablePageViewerCS, Class ConnectablePageViewerCS.cs)4.5.8. To Run4.5.9. Related Recipes4.6. Reading Web-Part Parameters from the Querystring4.6.1. Recipe Type: Web Part4.6.2. Ingredients4.6.2.1. Assembly References4.6.3. Special Considerations4.6.4. Preparation4.6.5. Process Flow4.6.6. Recipe—VB (See Project QuerystringWebPartVB, Class QuerystringWebPart.vb)4.6.7. Recipe—C# (See Project QuerystringWebPartCS, Class QuerystringWebPart.cs)4.6.8. Recipe—Clients.xslt (See Project QuerystringWebPartCS, File Clients.xslt)4.6.9. To Run4.6.10. Variations4.6.11. Related Recipes4.7. Using the SmartPart to Expose a .NET User Control4.7.1. Recipe Type: Web Part4.7.2. Ingredients4.7.2.1. Classes Used4.7.2.2. Other Ingredients4.7.3. Special Considerations4.7.4. Preparation4.7.5. Process Flow: GetProfileStatus()4.7.6. Process Flow: UpdateStatus()4.7.7. Recipe—Page Layout (See Project SmartPartStatusWebPartCS, File SmartPartStatusWebPart.ascx)4.7.8. Recipe—VB (See Project SmartPartStatusWebPartCS, Code-Behind SmartPartStatusWebPart.ascx.vb)4.7.9. Recipe—C# (See Project SmartPartStatusWebPartCS, Code-Behind SmartPartStatusWebPartCS.ascx.cs)4.7.10. To Run4.8. Creating a ZoneTab Web Part4.8.1. Recipe Type: Web Part4.8.2. Ingredients4.8.2.1. Assembly References4.8.3. Special Considerations4.8.4. Preparation4.8.5. Process Flow: CreateChildControls()4.8.6. Process Flow: ShowHideWebParts()4.8.7. Recipe—VB (See Project ZoneTabWebPartVB, Class ZoneTabWebPart.vb)4.8.8. Recipe—C# (See Project ZoneTabWebPartCS, Class ZoneTabWebPart.cs)4.8.9. To Run4.8.10. Variations4.9. Creating a Web Part to Edit SPWeb Properties4.9.1. Recipe Type: Web Part4.9.2. Ingredients4.9.2.1. Assembly References4.9.3. Special Considerations4.9.4. Preparation4.9.5. Process Flow: CreateChildControls()4.9.6. Process Flow: btn_Click()4.9.7. Process Flow: delbtn_Click()4.9.8. Recipe—VB (See Project WebPropertiesWebPartVB, Class WebPropertiesWebPart.vb)4.9.9. Recipe—C# (See Project WebPartPropertiesCS, Class WebPartProperties.cs)4.9.10. To Run4.9.11. Variations