Im creating a datatable manually and I want in one column to place a picture.
what type has to be the datacolumn?
VB Code:
mydataview.Table.Columns.Add(New DataColumn("My picture", Type.GetType("System.???????")))
Printable View
Im creating a datatable manually and I want in one column to place a picture.
what type has to be the datacolumn?
VB Code:
mydataview.Table.Columns.Add(New DataColumn("My picture", Type.GetType("System.???????")))
Well, I think it is a Byte Array. I'm not sure how you would get the type of that.
I think it should be an object datatype
VB Code:
Dim myTable As New DataTable myTable.Columns.Add("columnName", System.Type.GetType("System.Object"))