J
jquerijero
Guest
First, have you tried " .LastName" instead of just "LastName"? I think you also need the table name and not just the column name. Second, if the array type is not compatible with System.Array (ex. "System.String[]", "System.Int32[]" and etc.). You will need to initially bind the (array) column to the Tag property of the textbox then grab it later for conversion to some form of System.Array Here are sample codes for binding array to textbox. You will eventually need an implementation of CurrencyManager or BindingNavigator to navigate through the array contents. Ex. 1 DEFINE VARIABLE names AS "System.String[]" NO-UNDO. names = NEW "System.String[]"(2). names:SetValue("A", 0). names:SetValue("B", 1). THIS-OBJECT:ultraTextEditor1
ataBindings:Add("Text", names, ?). Ex. 2 DEFINE VARIABLE bs AS System.Windows.Forms.BindingSource NO-UNDO. bs = NEW System.Windows.Forms.BindingSource(). bs
ataSource = names. THIS-OBJECT:ultraTextEditor2
ataBindings:Add("Text", bs, ?).
Continue reading...
Continue reading...