resim kaydetmek için
SQL TURU VARBINARY(MAX)
c#
BM_PERSON.IMAGEDATA = DATA TURU BYTE[]
pe_GB1_IMAGE = PICTUREEDIT DEVEXPRESS COMPONENT
set = PI.BM_PERSON.IMAGEDATA = (byte[])pe_GB1_IMAGE.EditValue;
get = pe_GB1_IMAGE.EditValue = PI.BM_PERSON.IMAGEDATA;
SQL KAYDEDERKEN DIKKAT
if (B.IMAGEDATA != null)
com.Parameters.AddWithValue("@IMAGEDATA", B.IMAGEDATA);
else
com.Parameters.AddWithValue("@IMAGEDATA", System.Data.SqlTypes.SqlBinary.Null);
SQL TURU VARBINARY(MAX)
c#
BM_PERSON.IMAGEDATA = DATA TURU BYTE[]
pe_GB1_IMAGE = PICTUREEDIT DEVEXPRESS COMPONENT
set = PI.BM_PERSON.IMAGEDATA = (byte[])pe_GB1_IMAGE.EditValue;
get = pe_GB1_IMAGE.EditValue = PI.BM_PERSON.IMAGEDATA;
SQL KAYDEDERKEN DIKKAT
if (B.IMAGEDATA != null)
com.Parameters.AddWithValue("@IMAGEDATA", B.IMAGEDATA);
else
com.Parameters.AddWithValue("@IMAGEDATA", System.Data.SqlTypes.SqlBinary.Null);
No comments:
Post a Comment