C#怎样连接domino并读取里面的数据?

xdenly 2006-12-30 11:24:35
请问各位大哥,C#怎样连接domino的nsf数据库,并读取里面的数据啊?
哪位能给出一个简单的代码例子?
...全文
189 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
xdenly 2006-12-31
  • 打赏
  • 举报
回复
谢谢
是没有连接到domino的原因
bellalen 2006-12-31
  • 打赏
  • 举报
回复
你的notes配置时连接到domino了吗, 跟你的场所有关, 应该在s.initialize时会有登录的过程
cnmaya 2006-12-30
  • 打赏
  • 举报
回复
一点参考:http://www-128.ibm.com/developerworks/cn/lotus/domino-msnet/
xdenly 2006-12-30
  • 打赏
  • 举报
回复
我这样写:
Dim s As New NotesSession
s.Initialize()
Dim db As NotesDatabase
Dim vw As NotesView
Dim doc As NotesDocument
db = s.GetDatabase("ServerName//Domain", "names.nsf", False)
If Not (db Is Nothing) Then
TextBox1.Text = "success"
Else
TextBox1.Text = "failed to open the db"
End If

运行的结果总是failed to open the db
是什么原因呢?
能否直接读取到 本地的names.nsf这个文件?

535

社区成员

发帖
与我相关
我的任务
社区描述
企业开发 Exchange Server
社区管理员
  • 消息协作社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧