Solved

VB.net Problem in code uploading image to SQL

Posted on 2014-07-22
3
176 Views
Last Modified: 2014-07-30
Hi

At the following link, I don't understand what is happening in the code below. I get the error
Error      2      'Database1DataSet' is not a member of 'Polycom.frmPictures'.      C:\Users\murbro\Documents\Visual Studio 2010\Projects\Polycom\Polycom\frmPictures.vb      
and
Error      1      'InformationTableAdapter' is not a member of 'Polycom.frmPictures'.      C:\Users\murbro\Documents\Visual Studio 2010\Projects\Polycom\Polycom\frmPictures.vb


http://www.codeproject.com/Articles/437937/Save-and-Retrieve-Image-from-a-SQL-Server-Database

   Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the
        ' 'Database1DataSet.Information' table. You can move, or remove it, as needed.
        Me.InformationTableAdapter.Fill(Me.Database1DataSet.Information) ''ERROR
        con.Open()
    End Sub
0
Comment
Question by:murbro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 12

Expert Comment

by:ktaczala
ID: 40211403
Need to see your code.
did you create the table using the dataset designer?
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 40211536
You may not have that dataset in your application or you may have it with a different name. That example is using the dataset but you don't have to use a dataset. What do you do on your form? Show one picture? Show many pictures?
0
 

Author Closing Comment

by:murbro
ID: 40229546
Thanks for steering me in the right direction
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question