AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 28.02.2015, 14:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
DeniZone: 2 examples of importing multiple files
Источник: http://denizone.blogspot.com/2015/02...ple-files.html
==============

In AX, the typical way to import files via the UI is to do it one file at the time. If you have multiple files to import there are several options on how to do this via the AIF.

Every once in a while, it could be useful for the end-user to have the option of importing several files through the UI.

I have found two similar examples on how to achieve this:

Example 1)
static void MultiFileSelectDlgTest_1(Args _args)
{
System.Windows.Forms.OpenFileDialog ofd;
System.String[] s2;
int counters;
str imageValaue;
int i;
;
ofd = new System.Windows.Forms.OpenFileDialog();
ofd.set_Title("Select files");
ofd.set_Multiselect(true);
if (ofd.ShowDialog() == System.Windows.Forms.DialogResult::OK)
{
s2 = ofd.get_FileNames();
counters=System.Convert::ToInt32( s2.get_Length());
for(i = 0 ; i
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
DeniZone: Importing an Excel spread sheet with multiple columns Blog bot DAX Blogs 0 21.02.2015 17:12
atinkerersnotebook: Using PowerPivot to Analyze Dynamics AX Data Blog bot DAX Blogs 1 05.10.2013 07:23
Gareth Tucker: Scribe Insight and Microsoft CRM 2011 Blog bot Dynamics CRM: Blogs 0 06.05.2012 02:18
emeadaxsupport: Multiple database data files, table partitioning using multiple file groups… and Microsoft Dynamics AX 2009 Blog bot DAX Blogs 3 04.10.2011 16:30
Microsoft Dynamics CRM Team Blog: Importing Multiple Files using ZIP Import Blog bot Dynamics CRM: Blogs 0 16.03.2010 00:05
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 23:08.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.