i am using vb.net and arcgis 10.2.
i have 4 layers that i am creating a selection set from using select by attribute, however sometimes a layer or couple of them won't have any selected features. This is fine, but it creates a blank layer for the layers without selections in the toc. How can i search for the selection on a layer and then create the layer for only the selected features?
i have attached an example of my code.
Thanks in advance!