Posts by Leandro Díaz • 149 points
6 posts
-
1
votes1
answer706
viewsQ: How to pass data from a Dataset to an Excel spreadsheet C#?
I read sheet by sheet from a flat, and stored in a Dataset. I’m having trouble passing on to another flat this data from Dataset. Can someone help me ? I have the second code: conn.Open(); string…
-
5
votes1
answer9094
viewsQ: How to read folder and subfolder files?
I have a function to read the files in the folder, and it’s not working. I need a functional function that reads files from folders and subfolders. Follows the code: FolderBrowserDialog fbd = new…
-
1
votes2
answers1405
viewsA: String Connection excel . xls . xlsx C#
I tried with the Standard ODBC string, unsuccessfully... Follow the code below... //Conexão com o Excel OleDbConnection connExcel = new OleDbConnection("@PROVIDER=Microsoft.ACE.OLEDB.14.0 xml;Data…
-
3
votes2
answers1405
viewsQ: String Connection excel . xls . xlsx C#
I have a connection string with excel, but it is only the . xlsx and is giving this error Serverversion = 'connExcel.Serverversion' threw an Exception of type 'System.Invalidoperationexception' I…
-
3
votes2
answers907
viewsQ: How to count . xls / . xlsx files in folder with C#?
I have a Folderbrowserdialog and when I select the folder it shows the amount files (all, no filter). How do I do this length only with Excel files (.xls, . xlsx). Follow the code below:…
-
1
votes2
answers1997
viewsQ: C# Simple - Forms - Pass to the datagrid what I select in the combobox
Guys, good afternoon, I’m new to programming language, I need a little help. I’m able to call the database data in the combobox with select, but I’m not able to do a function that when I click OK,…