コード例 #1
0
    protected void btnInfoFromDocBatch_Click(object sender, EventArgs e)
    {
        DataTable dt = new DataTable();

        dt = GetTemplateColumn(dt);
        dt = FileLibrary.GetDataFromWordBatch(ConstantsManager.WEBSITE_VIRTUAL_ROOT_DIR + "/" + ConstantsManager.UPLOAD_DOC_DIR + "/" + "Dictionary", dt, true, true);
        DictionaryApplicationLogic instanceDictionaryApplicationLogic = (DictionaryApplicationLogic)CreateApplicationLogicInstance(typeof(DictionaryApplicationLogic));

        foreach (DataRow dr in dt.Rows)
        {
            appData = new DictionaryApplicationData();

            int i = 0;

            appData = instanceDictionaryApplicationLogic.Add(appData);
        }
    }