protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         ImportantLinks links = new ImportantLinks();
         links.LoadAll();
         links.Query.Top = 5;
         uiRepeaterLinks.DataSource = links.DefaultView;
         uiRepeaterLinks.DataBind();
     }
 }
 private void BindData()
 {
     ImportantLinks objData = new ImportantLinks();
     objData.LoadAll();
     uiGridViewLinks.DataSource = objData.DefaultView;
     uiGridViewLinks.DataBind();
 }