Imports MongoDB.Bson
Imports MongoDB.Driver
Imports MongoDB.Driver.Builders
Public Class frmMongoDB
Sub MongoDB()
Dim client As MongoClient
Dim server As MongoServer
Dim db As MongoDatabase
Dim col1 As MongoCollection
client = New MongoClient("mongodb://localhost")
server = client.GetServer()
db = server.GetDatabase("db1")
col1 = db.GetCollection("table1")
Dim query = New QueryDocument(" ")
I never said my queries were executed successfully on vb.net platform with the c# driver. I just said that I'm unable to figure. The query execution statement on vb.net for running a query. I am not even sure if my connection string is right.I sent my code snippet for work done by me. I wanted help in getting it executed. Anyway
I'll further open a new thread and link you soon.
--
--
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com
To unsubscribe from this group, send email to
mongodb-user...@googlegroups.com
See also the IRC channel -- freenode.net#mongodb
---
You received this message because you are subscribed to a topic in the Google Groups "mongodb-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mongodb-user/G3BZKssha4Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mongodb-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.