Solved

VB.net Problem in code uploading image to SQL

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
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.

803 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