| | |
not able read special charactered strings -EXCEL to DataSet-C#
Please support our C# advertiser: Intel Parallel Studio Home
Thread Solved |
0
#11 34 Days Ago
Aah!! A serious case of cross wires here, my bad. When you said "I got the desired results" i immediately assumed it was the OP saying they had resolved the issue :p My sincerest apologies
And as i said, i assumed the CAPS were accidental.
The fact that you have run the same query and got the desired results most likely confirms what i said; the data connector is mis-casting the column and returning empty strings when it fails to cast the strings to the wrong type. I have apps that retrieve emaila ddresses just fine from excel files so i cant see it being the special characters at fault. Guess we just have to wait for the OP to post their excel file correctly
And as i said, i assumed the CAPS were accidental.The fact that you have run the same query and got the desired results most likely confirms what i said; the data connector is mis-casting the column and returning empty strings when it fails to cast the strings to the wrong type. I have apps that retrieve emaila ddresses just fine from excel files so i cant see it being the special characters at fault. Guess we just have to wait for the OP to post their excel file correctly
Last edited by Ryshad; 34 Days Ago at 10:31 am.
Please don't take for granted the work that solvers do for you. Take the time to fully understand the code they give you so that you might adapt it to future problems.
"Learning is more than absorbing facts, it is acquiring understanding.” - William Arthur Ward
"Learning is more than absorbing facts, it is acquiring understanding.” - William Arthur Ward
•
•
Join Date: Jul 2009
Posts: 939
Reputation:
Solved Threads: 154
0
#12 34 Days Ago
This is a little confusing to me... What happened to venkates.99, who started the thread? I see vksingh.24 saying the problem is solved--are the two of you working as a team or something?
If there is still a problem, let us know what it is because there is no uploaded spreadsheet to test with. The data sample-text provided does not cause any problem for me when put into a new sheet with no other values present in the sheet.
Otherwise, if the problem is solved, please update the thread to SOLVED. Thanks.
EDIT: I missed the last post by Ryshad--didn't notice page 2. Anyway, I guess we are all waiting to hear back from vksingh.24.
If there is still a problem, let us know what it is because there is no uploaded spreadsheet to test with. The data sample-text provided does not cause any problem for me when put into a new sheet with no other values present in the sheet.
Otherwise, if the problem is solved, please update the thread to SOLVED. Thanks.
EDIT: I missed the last post by Ryshad--didn't notice page 2. Anyway, I guess we are all waiting to hear back from vksingh.24.
Last edited by DdoubleD; 34 Days Ago at 1:47 pm.
•
•
Join Date: Oct 2009
Posts: 11
Reputation:
Solved Threads: 0
-1
#14 32 Days Ago
HI D,
I have solved this.I need more info about some other problem
i.e.
I need to load data from DataGridView/dataset to Excel via Save as Dialog box, and vice varsa,
i.e need load data from Excel to DataGridView/dataset via Open dialog box.
Please give a solution
Thanks
Venkat.
I have solved this.I need more info about some other problem
i.e.
I need to load data from DataGridView/dataset to Excel via Save as Dialog box, and vice varsa,
i.e need load data from Excel to DataGridView/dataset via Open dialog box.
Please give a solution
Thanks
Venkat.
Last edited by venkates.99; 32 Days Ago at 4:20 am.
0
#15 32 Days Ago
•
•
•
•
HI D,
I have solved this.I need more info about some other problem
i.e.
I need to load data from DataGridView/dataset to Excel via Save as Dialog box, and vice varsa,
i.e need load data from Excel to DataGridView/dataset via Open dialog box.
Please give a solution
Thanks
Venkat.
Please don't take for granted the work that solvers do for you. Take the time to fully understand the code they give you so that you might adapt it to future problems.
"Learning is more than absorbing facts, it is acquiring understanding.” - William Arthur Ward
"Learning is more than absorbing facts, it is acquiring understanding.” - William Arthur Ward
![]() |
Similar Threads
- Read excel file in asp.net (ASP.NET)
- How to read null-terminated strings from file? (C)
- Retriving data from excel sheet into an asp page (ASP)
- How to read/write to an MS-Excel file?? (C++)
- Read from a file then placing strings into a 2d array (C)
- Extract MS Excel Data embedded in MS Word (Visual Basic 4 / 5 / 6)
- Strings (C++)
- reading a line in excel (C)
Other Threads in the C# Forum
- Previous Thread: Using Interface and interface members in C#
- Next Thread: Creating a 3D desktop with C#
| Thread Tools | Search this Thread |
.net access ado.net algorithm array barchart bitmap box broadcast buttons c# chat check checkbox client color combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development draganddrop drawing dynamiccreation encryption enum event excel file files form format forms function gdi+ httpwebrequest image index input install java label list listbox listener mandelbrot math mouseclick mysql networking object operator path photoshop picturebox pixelinversion post prime programming radians regex remote remoting richtextbox save saving serialization server setup sleep socket sql statistics stream string table tcp text textbox thread time timer treeview update usercontrol validation view visualstudio webbrowser windows winforms wpf xml





