I'm new to ASP.NET and I'm trying my best to write this script to display a list of people depending on the date they were entered into the system. What I want it basically to look like is this:

2011
Edit Mike Jones
Edit Aaron Smith
Edit John Doe
Edit Jane Doe

2010
Edit Alex Hines
Edit Matt Moore
Edit Peter Pennt

2009
Edit Joe Blow
Edit Mike Hunt
Edit Sam Stevens

But right now it just shows one giant list of names like this..

Edit Mike Jones
Edit Aaron Smith
Edit John Doe
Edit Jane Doe
Edit Alex Hines
Edit Matt Moore
Edit Peter Pennt
Edit Joe Blow
Edit Mike Hunt
Edit Sam Stevens

I want to divide it up by the year that they were entered into the system, which in the SQL database is a row called "stDate". This is my current code, what do I need to do to make it look like the example I typed above?

Code:
public partial class MakeoverAddEdit : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string connString = "Data Source=xxx;Initial Catalog=xxx;Persist Security Info=True;User ID=xxx;Password=xxx";
        string logon_user = Request.ServerVariables["LOGON_USER"].Substring(7).ToString();
        int page_id = 45;

        SqlConnection cn = new SqlConnection(connString);
        SqlCommand cmd = new SqlCommand("getStarPerformerAll", cn);
        cmd.CommandType = CommandType.StoredProcedure;

        DataSet ds = new DataSet();
        SqlDataAdapter da = new SqlDataAdapter(cmd);
        da.Fill(ds, "tablex");
        ds.Tables[0].AcceptChanges();
        DataRow[] dr = ds.Tables["tablex"].Select();

        foreach (DataRow row in ds.Tables[0].Rows)
        {
            if (row["xName2"] == DBNull.Value || row["xName2"].ToString() == "")
            {
            
              
                     if (GetUserPermissions.GetPermissions.IsAuthorized(logon_user, page_id))
                     {
                         lblStarList.Text += "<a href='MakeoverSubmit.aspx?action=Edit&ID=" + row["ID"] + "'>Edit</a>" + "&nbsp;&nbsp;&nbsp;&nbsp;" + "<a href='MakeoverDetail.aspx?ID=" + row["ID"] + "'>" + row["xName"] + "</a><br />";
                      }
                     else
                        {
                           lblStarList.Text += "<a href='MakeoverDetail.aspx?ID=" + row["ID"] + "'>" + row["xName"] + "</a><br />";
                     
                   
            }
            }
            else
            {
                if (GetUserPermissions.GetPermissions.IsAuthorized(logon_user, page_id))
                {
                    lblStarList.Text += "<a href='MakeoverSubmit.aspx?action=Edit&ID=" + row["ID"] + "'>Edit</a>" + "&nbsp;&nbsp;&nbsp;&nbsp;" + "<a href='MakeoverDetail.aspx?ID=" + row["ID"] + "'>" + row["xName"] + " and " + row["xName2"] + "</a><br />";
                }
                else
                {
                    lblStarList.Text += "<a href='MakeoverDetail.aspx?ID=" + row["ID"] + "'>" + row["xName"] + " and " + row["xName2"] + "</a><br />";
                }
            }
        }

        if (GetUserPermissions.GetPermissions.IsAuthorized(logon_user, page_id))
        {
            lnkAddStar.Visible = true;
    
        }
        else
        {
            lnkAddStar.Visible = false;
        }
    
       
    }
}
Can anyone help me figure this out? I would greatly appreciate it.