failed to read data from database

Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Aug 2007
Posts: 2
Reputation: djemba-djemba is an unknown quantity at this point 
Solved Threads: 0
djemba-djemba djemba-djemba is offline Offline
Newbie Poster

failed to read data from database

 
0
  #1
Aug 6th, 2007
hi all,

I am a VB.net beginner, I am developing a VB.net project now. I would like to ask a few questions. Thanks.

I am using VB studio 2003 to develop the project. It automatically generated the codes for establishing some connections to the server. But there were some problems occuring.

After using "select" command for reading some data, the data can not be read normally and just showed "Byte[] array" in the data field. I think it read the data indirectly. I found the datatype of these data are "<Binary>" and the xld showed the data are in the "base64Binary" format.

How can I change the data type or how can I read the data directly.

Thanks very much.
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 82
Reputation: preetham.saroja is an unknown quantity at this point 
Solved Threads: 1
preetham.saroja's Avatar
preetham.saroja preetham.saroja is offline Offline
Junior Poster in Training

Re: failed to read data from database

 
0
  #2
Aug 6th, 2007
Are using "server explorer" to connect with the database(which generates the code automatically).if yes-To avoid this just dont use the server explorer-
perform all the operations manually(create the table-write the code in code-behind file...),then i think so u wont get this type of error......
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 2
Reputation: djemba-djemba is an unknown quantity at this point 
Solved Threads: 0
djemba-djemba djemba-djemba is offline Offline
Newbie Poster

Re: failed to read data from database

 
0
  #3
Aug 6th, 2007
thx very much, let me have a try of that!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 1411 | Replies: 2
Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC