my problem is how to change the connection of datasource (connection with postgres) by code (arcobject .net).
i think taht i shoud get the query of the query layer and relodit by the new connection with the new parametrs
but how can i get the query for the query layer to do that?
would anyone have any code they could share to show how someone would use .?
thanks!
Dim pTable As ITable = featureLayer.FeatureClass
Dim pDataset As IDataset = pTable
Dim pQueryTableName As IQueryTableName
pQueryTableName = pDataset.FullName
Dim query As String = pQueryTableName.QueryDescription.Query
Jamal Hanine