I used the following code using DAO to populate arrays with table's field name and field description.
VB Code:
Dim rsReport as DAO.RecorrSet rsReport = dbDatabase.OpenRecordset("Table1") For Idx As Short = 1 To rsReport.Fields.Count - 1 FieldNames(Idx) = rsReport.Fields(Idx).Name Descriptions(Idx) = rsReport.Fields(Idx).Properties("Description").Value Next
How to achieve the same result using ADO.Net?
Please guide
Regards




Reply With Quote