Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

SQL/VB.NET Chart datasource Binding

nozde

Recruit
Basic Member
Messages
16
Reaction score
0
Points
16
hello po sa lahat, help naman po dito.

How to add database? Properties window Data>DataSource? From my SQL from another computer.
View attachment 326802
here's my Module and code/sql connection IP/user/pass/database

Code:
Imports MySql.Data.MySqlClient
Module dbModule
    Public conn As New MySqlConnection
    Public Sub dbConnect()
        Try
            If conn.State = ConnectionState.Closed Then
                'Local Database
                conn.ConnectionString = "server=127.0.0.1;userid=root;password=root;database=dashboard"
                conn.Open()
            End If
        Catch ex As Exception
            MsgBox(ex.ToString())
        End Try

    End Sub
End Module

:thanks:
 

Attachments

  • Untitled.png
    Untitled.png
    189.3 KB · Views: 24
Back
Top Bottom