Site search:

Creating Graph with VB.NET, Part 3: Data Binding Chart to Database

Programming, VB.NET 3 Comments »
This entry is part 3 of 2 in the series Creating Graph with VB.NET

From Part 1: Basic Chart and Part 2: Customize Chart, you see how to create a basic chart using GUI (no coding). But the chart is static, it’s lack flexibility which means that you cannot change properties or data of the chart while the application is running. Therefore, I will show how to create a chart by coding and bind data from a SQL Server’s database to the Chart control.

Read the rest of this entry »

Creating Graph with VB.NET, Part 2: Customize Chart

Programming, VB.NET 3 Comments »
This entry is part 2 of 2 in the series Creating Graph with VB.NET

On Part 1: Basic Chart, I show how to create a basic chart with default chart type and color style. Now you will see how to customize those properties on a chart.

Read the rest of this entry »

Creating Graph with VB.NET, Part 1: Basic Chart

Programming, VB.NET No Comments »
This entry is part 1 of 2 in the series Creating Graph with VB.NET

This series shows how to create chart or graph with VB.NET using Microsoft Chart Controls for .NET Framework.

Read the rest of this entry »

Accessing MySQL on VB.NET using MySQL Connector/Net, Part VIII: Display Result on GUI

Programming, VB.NET 25 Comments »

Introduction

Actually, I don’t prepare to write this post while I was writing the series. But there are some people want to know how to display a query data on Windows form rather than in console window which I wrote in the previous post. So this post, I’ll show how to display a query data on DataGridView on Windows form using MySqlDataAdapter.

Read the rest of this entry »

Accessing MySQL on VB.NET using MySQL Connector/Net, Part VII: Perform SQL Operations

Programming, VB.NET 11 Comments »

Perform SQL Operations

From the previous part, I have successfully connect to world database on MySQL Server from VB.NET. Next, I try to perform basic SQL operations (SELECT, INSERT, UPDATE and DELETE) on the world database.
Note: This post is continued from the previous part. If you start a new project, you’ll need to add MySql.Data reference. See the previous post for more detail.

Read the rest of this entry »

Accessing MySQL on VB.NET using MySQL Connector/Net, Part VI: Create Connection

Programming, VB.NET 13 Comments »

Create Connection

After I have prepared many things for showing how to access MySQL Server using VB.NET. Let’s see what I have done so far. Right now, I have a remote MySQL Server at 192.168.125.21 with port 3306 (Default port). Also, a sample database “world” and a user account “worldUser” with password “worldpassword”. Now it’s time to start Microsoft Visual Studio 2005 on a development PC.

Read the rest of this entry »

Accessing MySQL on VB.NET using MySQL Connector/Net, Part V: Install MySQL Connector Net

Programming, VB.NET No Comments »

Install MySQL Connector Net

From last 4 parts, I have prepared MySQL Server with sample database. I’ve done on a database PC. Next, I’ll move to a development PC. Assume that I have already installed Microsoft Visual Studio 2005 already. Now I need to download and install MySQL Connector/Net 5.2 on a Development PC which is a library for connect to MySQL Server from .NET Application.

Read the rest of this entry »

Accessing MySQL on VB.NET using MySQL Connector/Net, Part IV: Create & Grant MySQL User Account

Programming, VB.NET 1 Comment »

Create & Grant MySQL User Account

By default, the root account on MySQL Server has all privileges on every tables on MySQL Server but only localhost can have accessed (remote access is not allowed) and it is recommend to use other user account rather than root account to perform operations on MySQL Server (for security issue). Therefore, you should create a new user account on MySQL and grant at least privileges for the account as possible.

Read the rest of this entry »

Accessing MySQL on VB.NET using MySQL Connector/Net, Part III: Install Sample Database

Programming, VB.NET No Comments »

Install Sample Database

You can download example databases for MySQL at http://dev.mysql.com/doc (Scroll down to Example Databases section). By the time I’m writing the article, there are 4 sample databases available on the page. I choose the world database since it compatible with all MySQL version.

Read the rest of this entry »

Accessing MySQL on VB.NET using MySQL Connector/Net, Part II: Setup MySQL Server

Programming, VB.NET No Comments »

Setup MySQL Server

This section I’ll show how to setup MySQL Server on a database PC. You can see index of this series at Accessing MySQL on VB.NET using MySQL Connector/Net, Part I: Introduction

Read the rest of this entry »

Accessing MySQL on VB.NET using MySQL Connector/Net, Part I: Introduction

Programming, VB.NET 3 Comments »

Introduction

Here comes again, tutorial about programming to access a database server. This tutorial shows you how to use Microsoft Visual Studio’s VB.NET to connect MySQL using MySQL Connector/Net.

Read the rest of this entry »

Powered by WordPress | WP Theme & Icons by N.Design Studio

Entries RSS Comments RSS Log in