Save an Image in a Database Using VB.NET
<p>I am developing a system. I usually add data in the database by coding it using visual studio 2013, for example:</p>

<pre><code>Select * from tbl_login where loginID = '" &amp; TextBox1.Text &amp; "'
</code></pre>

<p>It works with strings, but not with an image. I don't know what should I use to save an image from a PictureBox. </p>

<p>Also, what is better? Using IMAGE or VARBINARY(MAX) as datatype? </p>

<p>Thanks in advance!</p>