Cant create Excel file using OLEDB C#

前端 未结 1 1691
抹茶落季
抹茶落季 2021-01-27 03:26
 string TempFileLocation=\"Filelocation\";
 string tempfilename =\"FileName\";
 string TabName =\"TabName\";
 string xConnStr = \"Provider=Microsoft.Jet.OLEDB.4.0;\" + \         


        
相关标签:
1条回答
  • 2021-01-27 04:06

    The column name cannot be over 64 characters.

    According to MSDN:

    Maximum column name length:
    Column names over 64 characters will produce an error.

    0 讨论(0)
提交回复
热议问题