Solved

VB.net Problem in code uploading image to SQL

Posted on 2014-07-22
3
174 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
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 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