mohanbelaguli Posted July 16, 2012 Share Posted July 16, 2012 Hi I have a tabular data of 25 columns above which I have to display some three lines of information. When I export the data to csv empty commas are getting appended for the information i display above the tableIt is something like thisReport Name,,,,,,,,,,,,,,,,,,,,,,,,,,,,Report Info,,,,,,,,,,,,,,,,,,,,,,,,,,,,,Generated Date,abc,,,,,,,,,,,,,,,,,,,,,,column1,column2,column3,column4,column5,column6,column7,column8row1,row2,row3,row4,row5,row6,row7,row8For the data above the column, the empty commas are getting added whose number is equal to the number of columns in the tableCan some body pls suggest me how to avoid these extra commas.My requirement is some thing like thisReport NameReport InfoGenerated Date,abccolumn1,column2,column3,column4,column5,column6,column7,column8row1,row2,row3,row4,row5,row6,row7,row8I want to strip off those extra commas when the report gets generated. Can somebody pls sugges me how to go about doing this as this has become very critical for my project Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now