Converting multiple rows in datagridview to excel - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Converting multiple rows in datagridview to excel

gabriel_15gabriel_15 Posts: 1Member
Hello Good Day,

Please help me guys on this one. I have a datagridview that contains data from another datagridview by way of drop function. The row consist of 5 columns: Name: Age: Gender: Address: Occupation

I can convert these rows into excel in a horizontal approach. My problem is this, I am having difficulty converting the rows in a single column only. i cannot configure the exact offset whatever function that was.

What i want is i want the rows as well as its corresponding column to match when its converted to excel.



Name Age Gender Address Occupation
Jay 15 M Ohio Employee

The format i want is:

Name: Jay
Age : 15
Gender: M
Address: Ohio
Occupation: Employee

Then every time you convert it there will be a single spacing below for another data for formality.

Please help me... Thanks and Godspeed.

Sign In or Register to comment.