protected void Page_Load(object sender, EventArgs e) { if (Request.QueryString["sortBy"] != null) { aspTable.Rows.AddRange(sh.GetAllStats(Request.QueryString["sortBy"]).ToArray()); } else { aspTable.Rows.AddRange(sh.GetAllStats().ToArray()); } }
protected void Page_Load(object sender, EventArgs e) { if (Request.QueryString["sortBy"] != null) { aspTable.Rows.AddRange(sh.GetAllStats(Request.QueryString["sortBy"]).ToArray()); } else { aspTable.Rows.AddRange(sh.GetAllStats().ToArray()); } }