Skip to main content

Database Connection in C# Using ASP.Net with MySQL For Beginners


This is a simple code on how to connect C# using MySQL 2012 in ASP.Net . The Features of my login page contain input validation using C#. It is a very simple and easy way to connect database in C# for Beginners.This tutorial is very helpful for beginners who wants to learn C# with sql connectivity.

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment