I have setup some code as follows but cannot seem to access the column named fld in the table by name but can by ordinal, can someone explain why please?
cjard, notice no silly names and use of inbuilt code rather than crearting it all myself
cjard, notice no silly names and use of inbuilt code rather than crearting it all myself
VB.NET:
Dim ds As New MyFinanceDataSet
Dim ta As New MyFinanceDataSetTableAdapters.MFTableAdapter
ta.Fill(ds.MF)
' this works...
tmpVerify = System.Text.Encoding.Default.GetBytes(ds.MF(0).ToString)
' but this does not...
tmpVerify = System.Text.Encoding.Default.GetBytes(ds.MF.fldColumn.ToString)
' and this does not work as .fld does not appear in intelli sense?
tmpVerify = System.Text.Encoding.Default.GetBytes(ds.MF.fld)