Sending excel as email attachment
I could able send excel as attchment , the problem is i want the header may be five fields and i want the data under those five fields and detail records like i have 40 fields in detail table
and i want to keep those under forty fileds.
currently i am getting in a single line like header details and detail records in a single line
i want the output as below.
field1 field2 field 3 field4
field1 field2 filed3 ........so on