considering this code
Dim cn As New ADODB.Connection, cn2 As New ADODB.Connection
Dim rs As ADODB.Recordset
Dim connString As String
Dim SelectFieldName
Set cn = CurrentProject.Connection
SelectFieldName = astrFields(intIx)
Set rs = cn.OpenSchema(adSchemaColumns, _
Array(Empty, Empty, Empty, SelectFieldName))
strsql = select field from rs!tablename
Now i understand that this will work in VBA by getting the table name where the field is present.
I just want to know what would be C sharp equivalent for this piece of code?