How to transpose columns to rows in datatable?

Thanks Lahiru.Fernando
I use it but I got the following :
image
My Needed Output is :
image