How can I put 50 lines to one variable ?

smartz

Пользователь
Joined
Jan 11, 2019
Messages
30
Reaction score
0
Points
6
Helo

I would like to put 50 lines from table or list - only to one variable .
Example 50 x emails to one variable


Thanks
 

Ilshakin

Client
Joined
Feb 14, 2017
Messages
639
Reaction score
582
Points
93
like range
C#:
project.Variables["bcc"].Value = string.Join(",",project.Lists["emails"].GetItems("0-49",true).ToList());
 

smartz

Пользователь
Joined
Jan 11, 2019
Messages
30
Reaction score
0
Points
6
need copy this to " Range" option ?
 

Ilshakin

Client
Joined
Feb 14, 2017
Messages
639
Reaction score
582
Points
93
Code:
project.Variables["bcc"].Value - your only one variable
project.Lists["emails"] - your list where include 100500 lines
"0-49" - range which need to take (50 lines)
 

smartz

Пользователь
Joined
Jan 11, 2019
Messages
30
Reaction score
0
Points
6
Thank you ! 8-)8-)
 

Users Who Are Viewing This Thread (Total: 1, Members: 0, Guests: 1)