<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Good thing Rob,<BR>
you didn't happen to come across the same for sde lite and sql server lite did you<BR>> Date: Wed, 1 Oct 2008 07:13:47 -0700<BR>> From: Rob.Sosnowski@itd.idaho.gov<BR>> To: fdo-users@lists.osgeo.org<BR>> Subject: Re: [fdo-users] SDE Connection Parameters<BR>> <BR>> <BR>> RESOLVED:<BR>> <BR>> IConnectionManager connectionManager =<BR>> FeatureAccessManager.GetConnectionManager();<BR>> IConnection connection =<BR>> connectionManager.CreateConnection(providerName);<BR>> IConnectionPropertyDictionary connectionPropertyDictionary;<BR>> connectionPropertyDictionary =<BR>> connection.ConnectionInfo.ConnectionProperties;<BR>> connectionPropertyDictionary.SetProperty("Server",<BR>> "servername");<BR>> connectionPropertyDictionary.SetProperty("Instance", "5151");<BR>> connectionPropertyDictionary.SetProperty("Username",<BR>> "username");<BR>> connectionPropertyDictionary.SetProperty("Password",<BR>> "password");<BR>> connectionPropertyDictionary.SetProperty("Datastore",<BR>> "database");<BR>> OSGeo.FDO.Connections.ConnectionState connectState =<BR>> connection.Open();<BR>> <BR>> <BR>> surrounded wrote:<BR>> > <BR>> > Hi,<BR>> > <BR>> > Been using FDO with shapefiles; now I wish to use with SDE layers. Can<BR>> > someone provide me with the code to make a connection to a SDE database. <BR>> > Our SDE layers are on MS SQL Server if that is important.<BR>> > <BR>> > Thanks.....Rob<BR>> > <BR>> > <BR>> <BR>> -- <BR>> View this message in context: http://n2.nabble.com/SDE-Connection-Parameters-tp1129033p1131481.html<BR>> Sent from the FDO Users mailing list archive at Nabble.com.<BR>> <BR>> _______________________________________________<BR>> fdo-users mailing list<BR>> fdo-users@lists.osgeo.org<BR>> http://lists.osgeo.org/mailman/listinfo/fdo-users<BR><BR><br /><hr />See how Windows connects the people, information, and fun that are part of your life. <a href='http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/' target='_new'>See Now</a></body>
</html>