Library code snippets tagged with asp.net

Search filter
Page 2 of 2
  • A PagingRepeater control

    by Dan Glass

    A PagingRepeater control extending Repeater with page navigation asp.net

  • RSS Feed Helper Class

    by James Crowley

    A simple helper class to make generating an RSS feed a piece of cake - its the one we use on Developer Fusion too! c#, asp.net

  • How to access a MySQL database with .NET

    by Edward Tanguay

    Demonstrates how to connect to a MySQL database with C#. asp.net, vb.net, ado.net, mysql

  • Add a JavaScript popup to an ASP.NET button

    by Edward Tanguay

    How to add a javascript popup (alert) question to an ASP.NET button control. asp.net, javascript, java

  • Databinding SqlTypes

    by Dan Glass

    Demonstrates how Databind the SqlTypes using the PropertyDescriptor class and the ITypedList Interface. c#, asp.net, sql

  • How to simulate a status bar in a Web application

    by Edward Tanguay

    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. asp.net

  • How to create PDF files from ASP.NET pages

    by Edward Tanguay

    How to create PDF files from ASP.NET pages with Crystal Reports without using Visual Studio.NET asp.net, pdf

  • ASP.NET Graphical Page Hit Counter

    by Raam Kumar

    Generate graphics on the fly to provide a graphical page hit counter, storing the counter in a text file or SQL database. asp.net

  • Adding controls to PlaceHolders dynamically

    by Edward Tanguay

    A simple example demonstrating how to dynamically add controls to a PlaceHolder control. asp.net

  • How to get an array of all files in a directory

    by Edward Tanguay

    This simple code will give you an array containing all files in a directory. asp.net

  • Creating a dynamic graphic which returns a .jpg

    by Edward Tanguay

    This code allows an .aspx file to receive parameters (file name and width of picture) and return a JPEG resized to the requested width. asp.net

  • Display SQL Server table data in a browser

    by Edward Tanguay

    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. asp.net, sql, sql server

  • How to get information about the current browser

    by Edward Tanguay

    This code shows you how ASP.NET simplifies information about the current browser into class properites. There are others but these are the most useful. asp.net

  • How to write to an XML file

    by Edward Tanguay

    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. asp.net, xml

  • How to get the current SessionID

    by Edward Tanguay

    Demonstrates how to retrieve the current SessionID for storing session data in a database asp.net

  • How to validate an XML file with an XSD file

    by Edward Tanguay

    Demonstrates an ASP.NET Web Form which tells you if your file is not well-formed and then if it is not valid it lists out the specific reason (like in XMLSpy), quite helpful to find an error in a large XML file as it returns the line number on which the error occurred as well as the tag name. asp.net, xml

  • Serialize and deserialize objects to an XML file

    by Edward Tanguay

    This code shows the simplest way to automatically convert the information in an object to an XML file and back into an object. This is useful if you need to make information available web-server like on your server for other applications to pick it up. asp.net, xml

  • How to write an ASHX file

    by Edward Tanguay

    An example of using a web handler file which you can use when your output is not going to a browser but to an xml-consuming client of some kind, keeping you away from all the browser technology you don't need. asp.net

We'd love to hear what you think! Submit ideas or give us feedback