- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
3 Posted Topics
this's old sample code for UareU 4500.. connection to DB using MyAccess but u can modify it to work with SQL or MySQL server.. you need uareu SDK to use this code Option Strict Off Option Explicit On Friend Class frmVerification Inherits System.Windows.Forms.Form Dim FPDatabase As New UareUSDK.clsFPDatabase Dim WithEvents …
i'm not using mongoDB.. You can read the basic about connecting, get collection, store, and query here : https://code.msdn.microsoft.com/Getting-started-with-37dbd5bd Example code : Imports MongoDB.Bson Imports MongoDB.Dirver Imports Newtonsoft.Json Imports Newtonsoft.Json.Linq Module Module1 Sub Main() Console.WriteLine("Connect...") Dim mongo As MongoServer = MongoServer.Create() mongo.Connect() Console.WriteLine("Connected") Console.WriteLine() Dim db = mongo.GetDatabase("tutorial") Using mongo.RequestStart(db) …
Dim sqlQuery As String = "INSERT INTO tblSales (proDescription, SaleValue) Values ('" & _ Sale.SubItems(0).Text & "' ,'" & _ Sale.SubItems(1).Text & "')"
The End.
Rakhmat_1