Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
lblBilltype.Text = "CASH BILL"
Me.BackColor = Color.LightGreen
Try
myconn.Open()
For i As Integer = 0 To DataGridView1.Rows.Count - 1
cmd = New MySqlCommand("insert...
Is it safe method to connect mysql database in online using vb.net ? help me out is there is any other way ?
Public MysqlConnection As String = "Data Source=.;Database=newDatabase;User Id=root; Password=admin"
1. i have php file in server and its returns echo json_decode() output
2. then i want to access the php file from server to my application
3. i want to print json output to my application
4. i can also able to search the value from output and also pass parameter/argument to php file
Imports System.Data.OleDb
Imports System.Data.SQLite
Public Class Form1
Private Function saveData(sql As String)
Dim Sqliteconn As SQLiteConnection = New SQLiteConnection("Data Source=C:\Users\deva\source\repos\Sqlite\Sqlite\bin\Debug\Config.db;version=3;")
Dim cmd As...
i doesnot understand task.run in that page , can you help me out the above error how to simplifies to load all data
the below function only constructed sqlite query it only push a data to database
Private Function saveData(sql As String)
Dim Sqliteconn As SQLiteConnection = New...
Imports System.Data.OleDb
Imports System.Data.SQLite
Public Class Form1
Private Function saveData(sql As String)
Dim Sqliteconn As SQLiteConnection = New SQLiteConnection("Data Source=C:\Users\deva\source\repos\Sqlite\Sqlite\bin\Debug\Config.db;version=3;")
Dim cmd As...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.