Пример #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     var tc = new BLL.TestComponents();
     var Tests = tc.GetTests();
     RepeaterTests.DataSource = Tests;
     DataBind();
 }
Пример #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     var tc = new BLL.TestComponents();
     Tests = tc.GetTests();
     RepeaterTests.DataSource = Tests;
     if (Tests.Count == 0)
         NullText.Visible = true;
     else NullText.Visible = false;
     DataBind();
 }
Пример #3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     var bll = new BLL.UserComponents();
     var user = bll.GetUser(Session["UserLogin"].ToString());
     if (user != null)
     {
         var bllt = new BLL.TestComponents();
         RepeaterTests.DataSource = bllt.GetTests(user.Login);
         DataBind();
     }
 }