阅读:2266回复:2
sde的连接问题
各位兄弟,在delphi中连sde怎么连不上,请熟悉的兄弟帮我看看:<BR> dc := IMoDataConnection(CreateOleObject('MapObjects2.DataConnection'));<BR> dc.Server :='zzb'; <BR> dc.User :='sde';<BR> dc.Password :='sde';<BR> dc.Database :='ora8i';
|
|
1楼#
发布于:2008-07-24 09:48
<P><B>Server = "SDE81:<ST1:CHSDATE w:st="on" Year="1899" Month="12" Day="30" IsLunarDate="False" IsROCDate="False">10.3.1</ST1:CHSDATE>.8" //采用sde81:ip/服务器名的格式 。同arccatalog连接中的格式不同</B><B>User = Me.username.Text <BR>password = Me.password.Text<BR>Database = "5151/tcp" </B><B>或用直连'"instance=sde:sqlserver:10.3.1.8;database=sde" // 5151/tcp服务端口号。</B></P>
|
|
|
2楼#
发布于:2020-05-03 15:26
顶起,是否解决?
|
|
|