Free Support Forum - aspose.com

Eliminate Blank Page and region execution

Hi:

I got some feedback from a support engineer but my situation is more like this:

DataTable customer = new DataTable("Customer");

customer.Columns.Add("CustName");

customer.Columns.Add("Phone");

DataRow row = customer.NewRow();

row[0] = "test22222";

row[1] = "5233445,7783946";

customer.Rows.Add(row);

DataRow row1 = customer.NewRow();

row1[0] = "test11111";

row1[1] = "1233445,2783946,545654494,45646546565";

I've got multiple rows in a datatable and column 'phone' got different phone number(s). If there is more than 2 phone numbers the first two numbers need to display on the first page and all those four displays on the second page but if there is two or less than two numbers those need to display on the first page and the second page needs to be eliminated. The output is more like this:

Page-1

I’ve confirmed the invitation on the phone 5233445,7783946

Page-2

should be eliminated

Page-3

I’ve confirmed the invitation on the phone 1233445,2783946,545654494,45646546565

Page-4

Phone List

1233445

2783946

545654494

45646546565

On the second page there is a table (which shows phone list). The merge field name <> and <<PhoneList>> are different

I’ve confirmed the invitation on the phone «Phone»

Phone No List

«TableStart:CustomerPhones»«PhoneList»

«TableEnd:CustomerPhones»

I need help.

Thnx-

Razin

Hi

Thanks for your inquiry. This question ia answered in <a href="

Best regards.