Actually agree with Daniel, normally you just do something like this:
Dim dt As DataTable = NothingUsing dbConnApp As DbConnInfo =
BRAPi.Database.CreateApplicationDbConnInfo(si)dt =
BRApi.Database.ExecuteSql(dbConnApp, sql.ToString, False)End UsingOr...
I used something like this to collect the selections (using bound
param): Dim groupsString As String =
args.NameValuePairs.XFGetValue("Groups", String.Empty)Dim groups As
List(Of String) = StringHelper.SplitString(groupsString,",")Then I used
these m...
Not sure if this applies in your case, but a while back I switched from
a combobox to a GridView with the Show Deselect All button enabled. The
bound parm on the Grid View contains a delimited list of selections.
From years ago....you probably want to replace the deprecated
GetCustomDataTable call with something like this: Using dbConnApp As
DBConnInfo = BRApi.Database.CreateApplicationDbConnInfo(si)Using dt As
DataTable = BRApi.Database.ExecuteSql(dbConnApp,...