944,101 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 1724
  • VB.NET RSS
Aug 6th, 2007
0

failed to read data from database

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
djemba-djemba is offline Offline
2 posts
since Aug 2007
Aug 6th, 2007
0

Re: failed to read data from database

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......
Reputation Points: 5
Solved Threads: 1
Junior Poster in Training
preetham.saroja is offline Offline
82 posts
since Jun 2007
Aug 6th, 2007
0

Re: failed to read data from database

thx very much, let me have a try of that!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
djemba-djemba is offline Offline
2 posts
since Aug 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: sms
Next Thread in VB.NET Forum Timeline: Creating tabs using code





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC