Esempio n. 1
0
        private void UploadReport(int LogId)
        {
            Facade.IReferenceData facRef = new Facade.ReferenceData();

            DataSet ds = facRef.GetLogDetails(LogId);

            // Apply the details to the report and html fields and load it
            cboClient.Text          = ds.Tables[0].Rows[0]["OrganisationName"].ToString();
            cboClient.SelectedValue = ds.Tables[0].Rows[0]["IdentityId"].ToString();

            dteStartDate.SelectedDate = Convert.ToDateTime(ds.Tables[0].Rows[0]["DateTimeFrom"].ToString());
            dteEndDate.SelectedDate   = Convert.ToDateTime(ds.Tables[0].Rows[0]["DateTimeTo"].ToString());

            LoadReport();
        }