I have a problem when I use the get_item method with recordset
for example this source code is Ok:
but with this another example it doesn't work, it give a crash under MapPoint :Code:string t; t= "City"; object index = t; line=rs.Fields.get_Item(ref index).Value.ToString()
if I use a variable ( array of string ) then it doesn't work, it work only if the string is hardcoded in source code ( for example t="City" )Code:object index = tab.ToString(); line=rs.Fields.get_Item(ref index).Value.ToString()
do you have a solution for this problem ?