E
EMW
Hi,
Is it possible to store an image in a dataset?
I've tried this:
Dim col As new DataColumn()
Dim cols As DataColumnCollection
Dim tp As Type
dsFoto.Tables.Clear()
dsFoto.Tables.Add("pmFoto")
cols = dsFoto.Tables("pmFoto").Columns
col = cols.Add("sitenum")
col.Unique = False
col = cols.Add("thumb", System.Type.GetType("system.Byte"))
col.Unique = False
col = cols.Add("Foto", System.Type.GetType("System.byte"))
col.Unique = False
but I get a NULLEXCEPTION error message.
what do I need to do?
rg,
Eric
Is it possible to store an image in a dataset?
I've tried this:
Dim col As new DataColumn()
Dim cols As DataColumnCollection
Dim tp As Type
dsFoto.Tables.Clear()
dsFoto.Tables.Add("pmFoto")
cols = dsFoto.Tables("pmFoto").Columns
col = cols.Add("sitenum")
col.Unique = False
col = cols.Add("thumb", System.Type.GetType("system.Byte"))
col.Unique = False
col = cols.Add("Foto", System.Type.GetType("System.byte"))
col.Unique = False
but I get a NULLEXCEPTION error message.
what do I need to do?
rg,
Eric