https://www.developerfusion.com/t/asp.net/code/sort/popularity/ ASP.NET Sample code from Developer Fusion 2009-02-10T11:24:00.00Z http://www.developerfusion.com/code/2645/how-to-get-the-current-sessionid/ How to get the current SessionID 2002-07-13T06:35:00.00Z Demonstrates how to retrieve the current SessionID for storing session data in a database Edward Tanguay http://www.developerfusion.com/code/3826/adding-controls-to-placeholders-dynamically/ Adding controls to PlaceHolders dynamically 2003-07-07T04:29:00.00Z A simple example demonstrating how to dynamically add controls to a PlaceHolder control. Edward Tanguay http://www.developerfusion.com/code/4673/programatically-load-user-controls/ Programatically Load User Controls 2005-02-20T11:03:00.00Z How to programatically load user-controls from code behind pages and then access their properties using reflection. Dave Wanta http://www.developerfusion.com/code/6623/dynamically-generating-pdfs-in-net/ Generate PDFs using C# and the free iTextSharp library 2007-04-15T20:36:00.00Z Learn how to use the free iTextSharp library to load a PDF form, populate some dynamic fields, and then save out a flat PDF file. James Crowley http://www.developerfusion.com/code/5263/encrypting-webconfig-sections-in-aspnet-20/ Encrypting Web.config sections in ASP.NET 2.0 2006-01-21T22:25:00.00Z Learn how to encrypt any section of your Web.config file on-the-fly and programatically; plain-text connection strings in your config file are no more! Xavier Larrea http://www.developerfusion.com/code/2646/how-to-write-to-an-xml-file/ How to write to an XML file 2002-07-13T06:38:00.00Z Writing to XML files is quite easy in ASP.NET as there are so many objects prepared for you -- you just need the syntax on how to use them. This code shows you how to write a simple member XML file. Edward Tanguay http://www.developerfusion.com/code/4688/dynamic-thumbnail-images-from-aspnet/ Dynamic thumbnail images from ASP.NET 2005-04-11T16:15:00.00Z This sample code is an IHttpHandler implementation that reads a JPG from the filesystem and dynamically generates a thumbnail sized version of the image and emits that to the response stream. What I like about this approach is that you don't need to create a file on the filesystem for the thumbnail as it's all done in memory. Brock Allen http://www.developerfusion.com/code/4596/how-to-access-a-mysql-database-with-net/ How to access a MySQL database with .NET 2004-04-01T14:47:00.00Z Demonstrates how to connect to a MySQL database with C#. Edward Tanguay http://www.developerfusion.com/code/4713/binding-a-control-to-an-enum/ Binding a Control to an Enum 2005-07-27T15:14:00.00Z Ever had an Enum (with a set of names and values) that you wanted to bind to a control like a DropDownList? Here's how. James Crowley http://www.developerfusion.com/code/9723/binding-multiple-fields-to-aspnet-listcontrol-classes/ Binding Multiple Fields to ASP.NET ListControl classes 2009-02-10T11:24:00.00Z Out of the box, the ASP.NET list controls (CheckBoxList, RadioButtonList, DropDownList) only support data binding on a single field. Learn how to work around this to bind to as many fields as you need. Neil Dodson http://www.developerfusion.com/code/4648/embed-text-in-image-using-aspnet/ Embed text in Image using ASP.NET 2005-01-07T08:41:00.00Z Demonstrates how to dynamically embed a text caption embedded into an image. Julian Roberts http://www.developerfusion.com/code/3243/display-sql-server-table-data-in-a-browser/ Display SQL Server table data in a browser 2003-01-11T09:51:00.00Z Just supply your database connection string and this code will give you a radio button list of all your SQL Server tables and will show their fields. Edward Tanguay http://www.developerfusion.com/code/4687/cross-page-postbacks-in-aspnet-20/ Cross page postbacks in ASP.NET 2.0 2005-04-11T16:06:00.00Z ASP.NET 2.0 introduces the ability to have an ASPX page postback to a different ASPX page with cross page postbacks. This was done all the time in ASP but wasn’t supported in ASP.NET 1.x. Here we show you how to use this new feature. Brock Allen http://www.developerfusion.com/code/4391/how-to-delete-records-with-sqlcommand/ How to delete records with SqlCommand 2004-02-04T11:36:00.00Z This code shows you how to delete records with an SQL statement and get the number of records deleted returned back as an integer. Edward Tanguay http://www.developerfusion.com/code/5302/url-rewriting-with-regex-for-aspnet-20/ Url Rewriting with Regex for ASP.NET 2.0 2006-01-29T11:16:00.00Z A new feature in ASP.NET 2.0 is it's built-in url rewriting support. When i looked into this new feature I found that it lacked regular expressions support, which is really the point of an Url Mapper. So, this code demonstrates how to create a Url Rewriting Module with Regex support in ASP.NET. Xavier Larrea http://www.developerfusion.com/code/3825/how-to-get-an-array-of-all-files-in-a-directory/ How to get an array of all files in a directory 2003-07-07T04:25:00.00Z This simple code will give you an array containing all files in a directory. Edward Tanguay http://www.developerfusion.com/code/5449/uploading-files-using-aspnet/ Uploading Files Using ASP.NET 2006-02-27T17:30:00.00Z No need of third party components to upload your files. It is so easy to upload files in ASP.NET using just 3 lines of code. Man from Mars http://www.developerfusion.com/code/4649/debug-aspnet-pages-using-tracing/ Debug ASP.NET pages using Tracing 2005-01-07T08:48:00.00Z Demonstrates a useful debugging technique taking advantage of traces in ASP.NET. Julian Roberts http://www.developerfusion.com/code/5340/building-an-ajax-progressbar-in-atlas/ Building an 'AJAX' ProgressBar in Atlas 2006-02-02T15:45:00.00Z Learn how to write a basic, client-side Atlas progress bar, and download the source code. Wilco Bauwer http://www.developerfusion.com/code/4314/how-to-simulate-a-status-bar-in-a-web-application/ How to simulate a status bar in a Web application 2004-01-18T12:33:00.00Z If you have a process that takes over 20 seconds or so on a Web application, you may want to let the user know the status of the process. Edward shows you how. Edward Tanguay