Thats the point we dont know all the data types coming.so pretty hard to help you with just code you have posted