protected void btnTabQuery_Click(object sender, EventArgs e)
{
LayerOverlay staticOverlay = (LayerOverlay)Map1.CustomOverlays["Province"];
TabFeatureLayer tabLayer = (TabFeatureLayer)staticOverlay.Layers["Province"];
tabLayer.Open();
if (tabLayer.QueryTools.CanExecuteSqlQuery)
{
DataTable dt = tabLayer.QueryTools.ExecuteQuery(SQLTextBox.Text);
FeaturesGridView.DataSource = dt;
FeaturesGridView.DataBind();
}
tabLayer.Close();
}
tabLayer.QueryTools.CanExecuteSqlQuery : it always return false