如题。我想在程序中打开SQL型数据源,并且在mapcontrol控件上显示出来,下面为部分代码 Datasources data = new Datasources();
DatasourceConnectionInfo info = new DatasourceConnectionInfo();
info.EngineType = EngineType.SQLPlus;
.........
Datasource m_data=data.Open(info);
//这句代码出问题
mapControl1.Map.Datasource= m_data;