not able read special charactered strings -EXCEL to DataSet-C#

Please support our C# advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Aug 2009
Posts: 438
Reputation: Ryshad has a spectacular aura about Ryshad has a spectacular aura about Ryshad has a spectacular aura about 
Solved Threads: 86
Ryshad's Avatar
Ryshad Ryshad is online now Online
Posting Pro in Training
 
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
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
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 962
Reputation: DdoubleD is a jewel in the rough DdoubleD is a jewel in the rough DdoubleD is a jewel in the rough DdoubleD is a jewel in the rough 
Solved Threads: 203
DdoubleD DdoubleD is offline Offline
Posting Shark
 
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.
Last edited by DdoubleD; Nov 6th, 2009 at 1:47 pm.
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 9
Reputation: vksingh24 is an unknown quantity at this point 
Solved Threads: 1
vksingh24 vksingh24 is offline Offline
Newbie Poster
 
0
  #13
Nov 9th, 2009
I am not working as a team with venkates.99. I think venkates is yet to confirm about his problem.

Thanks!
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 11
Reputation: venkates.99 is an unknown quantity at this point 
Solved Threads: 0
venkates.99 venkates.99 is offline Offline
Newbie Poster
 
-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.
Last edited by venkates.99; Nov 9th, 2009 at 4:20 am.
Attached Files
File Type: doc C1.doc (26.5 KB, 1 views)
Reply With Quote Quick reply to this message  
Join Date: Aug 2009
Posts: 438
Reputation: Ryshad has a spectacular aura about Ryshad has a spectacular aura about Ryshad has a spectacular aura about 
Solved Threads: 86
Ryshad's Avatar
Ryshad Ryshad is online now Online
Posting Pro in Training
 
0
  #15
Nov 9th, 2009
Originally Posted by venkates.99 View Post
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.
If your original problem is solved, please mark this thread as solved and create a new thread for your new question. I think this thread has become confusing enough as it is without piggybacking a new problem on top
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
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC