Esempio n. 1
0
    private void loadAttachments()
    {
        DataTable dt = WorkRequest.WorkRequest_GetAttachmentList(workRequestID: this.WorkRequestID);

        if (dt != null)
        {
            dc = dt.Columns;

            if (dt.Rows.Count > 0)
            {
                spanRowCount.InnerText     = dt.Rows.Count.ToString();
                gridAttachments.DataSource = dt;
                gridAttachments.DataBind();
            }
        }
    }