Export TXT based on some condition

Export TXT based on some condition

m75sam75sa Posts: 132Questions: 30Answers: 0

I have my datatable with some records (comes from db) and some export buttons (like .txt).
So I can export via buttons in txt, and i have all the table. I need now to export teh result if some condition is in the record.
For example i have
NAME | SURNAME | AGE
mary | rossi. | 22
paul. | rossi |
luke. | rossi | 40

I would luike to have a txt exported file where if no age is present it says "no-age" otherwise is reports the current age...
Any idea?

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.