protected void Page_Load(object sender, EventArgs e)
 {
     using (var db = new ContactDatabase())
     {
         MessageRepeater.DataSource = db.ContactLogs.ToArray();
         MessageRepeater.DataBind();
     }
 }
Esempio n. 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     MessageRepeater.DataSource = InputOutputMessage.listObj;
     MessageRepeater.DataBind();
 }