| | |
not able read special charactered strings -EXCEL to DataSet-C#
Please support our C# advertiser: Intel Parallel Studio Home
Thread Solved |
0
#11 Nov 6th, 2009
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; Nov 6th, 2009 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: 962
Reputation:
Solved Threads: 203
0
#12 Nov 6th, 2009
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; Nov 6th, 2009 at 1:47 pm.
•
•
Join Date: Oct 2009
Posts: 11
Reputation:
Solved Threads: 0
-1
#14 Nov 9th, 2009
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; Nov 9th, 2009 at 4:20 am.
0
#15 Nov 9th, 2009
•
•
•
•
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 |
Tag cloud for C#
.net access ado.net algorithm array bitmap box broadcast buttons c# chat check checkbox class client color combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development draganddrop drawing encryption enum event excel file files form format forms ftp function gdi+ httpwebrequest image index install java label list listbox listener login mandelbrot math mouseclick mysql networking object operator oracle path photoshop picturebox pixelinversion post prime programming radians regex remote remoting resource richtextbox save saving serialization server sleep socket sql statistics stream string table tcp text textbox thread time timer treeview update usercontrol validation visualstudio webbrowser windows winforms wpf xml





