コード例 #1
0
        private void LoadMessages()
        {
            // Clear the listbox
            listBoxINFOModificada.Items.Clear();

            listBoxINFOModificada.Items.Add("Empezamos a partir de " + Ahora.ToString("yyyy-MM-dd HH:mm:ss.fff"));

            // Get the messages
            DataTable dt = dataChanged.GetChanges();

            // Iterate through the records and add them
            // to the listbox
            foreach (DataRow row in dt.Rows)
            {
                listBoxINFOModificada.Items.Add(row["INFO"]);
            }
        }