03-14-2007, 12:38 PM
i try to use DataFormat in the datagrid, because some columns show prices.
da4.Columns.Item(1).DataFormat
qm says 'expecting IDataFormatDisp'. :?:
in my vb6 test project its:
2. regarding datasource
i found this thread ->Using DataGrid Without DataSet (unbound)
what is the DataSet the poster in posting #3 is writing about.
thanks a lot (like ever)
.
da4.Columns.Item(1).DataFormat
qm says 'expecting IDataFormatDisp'. :?:
in my vb6 test project its:
BeginProperty Column01
DataField = "EK"
Caption = "EK"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 1
Format = """€"" #.##0,00"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 1031
SubFormatType = 2
EndProperty
EndProperty2. regarding datasource
i found this thread ->Using DataGrid Without DataSet (unbound)
Quote:A DataGrid's DataSource will accept any object which implements
IEnumerable (such as an Array or ArrayList), so a simple array of your
objects would be the simplest. Map columns to the properties you want
displayed.
what is the DataSet the poster in posting #3 is writing about.
thanks a lot (like ever)
.
