Data Binding ASP.Net Tutorial

<%@ Page Language="C#" %>
<%@ Import Namespace="System.Drawing.Text" %>
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

    void Page_Load()
    {
        if (!Page.IsPostBack)
        {
            InstalledFontCollection fonts = new InstalledFontCollection();
            GridView1.DataSource = fonts.Families;
            GridView1.DataBind();
        }
    }



    Show Fonts


    
    

            id="GridView1"
        Runat="server" />