Solved

VB.net Problem in code uploading image to SQL

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
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 remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now