There are probably half a dozen different ways to address this issue, some of which would take hours to days to implement, and others would take weeks to months. Using ArcObjects or SQL are going to be on the easy side, and using the ArcSDE API would be on the hard side. I suggest you research the whole problem, rather than just the connection aspect. -V