I have a table which have image data type in one of the colomn , I try this code,
first, is this a right code to insert one row of the table?
Me.DatasiswaTableAdapter.Insert(NISTextBox.Text, NamaTextBox.Text, KelasTextBox.Text, JurusanTextBox.Text, Jenis_KelaminComboBox.Text, Tanggal_LahirDateTimePicker.ToString, AlamatRichTextBox.Text, FotoPictureBox.Image)
if yes then I need to know why the image type is change to byte? and how to insert the image from picturebox if the format of the code is a byte?
then if no please let me know the right code
Sorry for my bad English :) Thanks