<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>&gt; Date: Wed, 1 Oct 2008 07:13:47 -0700<BR>&gt; From: Rob.Sosnowski@itd.idaho.gov<BR>&gt; To: fdo-users@lists.osgeo.org<BR>&gt; Subject: Re: [fdo-users] SDE Connection Parameters<BR>&gt; <BR>&gt; <BR>&gt; RESOLVED:<BR>&gt; <BR>&gt; IConnectionManager connectionManager =<BR>&gt; FeatureAccessManager.GetConnectionManager();<BR>&gt; IConnection connection =<BR>&gt; connectionManager.CreateConnection(providerName);<BR>&gt; IConnectionPropertyDictionary connectionPropertyDictionary;<BR>&gt; connectionPropertyDictionary =<BR>&gt; connection.ConnectionInfo.ConnectionProperties;<BR>&gt; connectionPropertyDictionary.SetProperty("Server",<BR>&gt; "servername");<BR>&gt; connectionPropertyDictionary.SetProperty("Instance", "5151");<BR>&gt; connectionPropertyDictionary.SetProperty("Username",<BR>&gt; "username");<BR>&gt; connectionPropertyDictionary.SetProperty("Password",<BR>&gt; "password");<BR>&gt; connectionPropertyDictionary.SetProperty("Datastore",<BR>&gt; "database");<BR>&gt; OSGeo.FDO.Connections.ConnectionState connectState =<BR>&gt; connection.Open();<BR>&gt; <BR>&gt; <BR>&gt; surrounded wrote:<BR>&gt; &gt; <BR>&gt; &gt; Hi,<BR>&gt; &gt; <BR>&gt; &gt; Been using FDO with shapefiles; now I wish to use with SDE layers. Can<BR>&gt; &gt; someone provide me with the code to make a connection to a SDE database. <BR>&gt; &gt; Our SDE layers are on MS SQL Server if that is important.<BR>&gt; &gt; <BR>&gt; &gt; Thanks.....Rob<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; <BR>&gt; -- <BR>&gt; View this message in context: http://n2.nabble.com/SDE-Connection-Parameters-tp1129033p1131481.html<BR>&gt; Sent from the FDO Users mailing list archive at Nabble.com.<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; fdo-users mailing list<BR>&gt; fdo-users@lists.osgeo.org<BR>&gt; 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>