Home > Net >  For c # _vsto_Ribbon class implementation with SQL database exchange, to write the data into Excel
For c # _vsto_Ribbon class implementation with SQL database exchange, to write the data into Excel

Time:09-27

Will be used, because of work requirements, functional integration to excel ribbon,
In achieving functional areas ribbon controls and SQL database interaction,
And will the dataset when collection data into Excel stuck,
I don't know how to write down? Please the teacher for help, thank you!
See picture:

CodePudding user response:

In the case of regardless of the format you can use the FileStream WriteLine generating a line of data, separated with \ t say column, such as
Fs. WriteLine (" name gender \ \ t t age ");
Fs. WriteLine (" CSDN \ t male \ t20 ");

CodePudding user response:

reference 1st floor asq985 response:
under the condition of without considering the format you can use the FileStream WriteLine generates a row, separated with \ t said columns, such as
Fs. WriteLine (" name gender \ \ t t age ");
Fs. WriteLine (" CSDN \ t male \ t20 ");


Data to direct output to Excel oh
  •  Tags:  
  • C#
  • Related