hey,
I'm working on a project, where I need to save data along with the image in Sql server, using Vb 2005. i just need the code for the above one.
please post asap need it urgently.
mshravs
0
Junior Poster in Training
Recommended Answers
Jump to PostHere is code to save and retrieve an image with other columns:
Public Class frmImgUpload Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'Insert an image Using conn As New System.Data.SqlClient.SqlConnection("Data Source=apex2006sql;Initial Catalog=Scott;Integrated Security=True;") conn.Open() Using cmd As New SqlClient.SqlCommand("Insert Into Picture (Name, …
Jump to PostMore than likely you forgot to change the connection string, query, column names, etc. The SQL code is specific to my table structure...
Jump to PostI'm glad you got it working
Please mark this thread as solved if you have found an answer to your question and good luck!
All 11 Replies
sknake
1,622
Senior Poster
Featured Poster
mshravs
0
Junior Poster in Training
sknake
1,622
Senior Poster
Featured Poster
mshravs
0
Junior Poster in Training
sknake
1,622
Senior Poster
Featured Poster
mshravs
0
Junior Poster in Training
sknake
1,622
Senior Poster
Featured Poster
mshravs
0
Junior Poster in Training
mshravs
0
Junior Poster in Training
sknake
1,622
Senior Poster
Featured Poster
dapsin999
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.