How to generate odbcDataAdapter.TableMappings?
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi guys, I wrote this: string cmd = "select fid,fval from x"; OdbcDataAdapter da=new OdbcDataAdapter(cmd,this.odbcConnection1); int i = da.TableMappings.Count; and I found da.TableMappings.Count was always zero. I don't want to use da.TableMappings.Add() function to add table mapping and columns mapping. Are there any functions in ADO.NET that can generate the mapping info base on a odbcDataAdapter instance? Anything you can help it would be appreciated.