Skip to Content
0
Former Member
May 28, 2008 at 10:23 AM

populate Matrix combo-column from Db

133 Views

Hi all, this is my first Thread!

I'm a VB.NET developer. The question is:

How I can populate programmatically a Matrix combo-column?

I have found this method:

oForm.DataSources.DataTables.Add("DATA").ExecuteQuery("SELECT * FROM [ACR4]")
oMatrix.Columns.Item("col1").DataBind.Bind("DATA", "CardCode")
oMatrix.LoadFromDataSource()

but this code add a row in matrix for each record.

Regards