Beruflich Dokumente
Kultur Dokumente
C# Ask a Question
22 26 1.1m
InsertUpdateDeleteDisplayinMysql.rar | InsertUpdateDeleteDisplayinMysqlCsharp.zip
Easily Add PDF Word & Excel Function to Your .NET Apps
This article shows how to insert, update, delete and display data in MySQL.
I have updated the Article and source code on my personal blog. you can get it here.
Introduction
MySQL is a fast, easy-to-use RDBMS being used for many small and big businesses. We can use MySQL with
C#, Java and many other languages. Here we will use C#.
Diagram 1
Username=Ehtesham
Password=1234
Note: You need to include this assembly.
Insert Data
Update Data
Display Data
Diagram 2
Ask a Question
I have also attached the source code so you can download it. Remember that you need to make your
database and also your connection strings and so on.
Ehtesham Mehmood
394 3.6m 1
Type your comment here and press Enter Key (Minimum 18 characters)
Is it possible to make a connection string like that without the username and password?
Peter Ema Sep 05, 2017
1513 2 88 0 0 Reply
Although the ExecuteNonQuery returns no rows, any output parameters or return values mapped
to parameters are populated with data. For UPDATE, INSERT, and DELETE statements, the return
value is the number of rows a ected by the command.
Ahsan Sohail Aug 22, 2017
1513 2 0 0 0 Reply
this article is good but i think one thing is missing that one web it can't show get data from
selected row and put into respective textbox.
kishan paneri Jun 15, 2016
1483 32 1 0 0 Reply
This may help you string Query = "delete from SKILL where Std_ID='" + this.textBox1.Text
+"';";
malik shahzaib Jun 22, 2017
1512 3 0 0
Comment Using
7 Comments Sort by Oldest
Ask a Question
Add a comment...
http://go2code.com/.../insert-update-delete-display-data.../
Like · Reply · 1 · 1y
connectionDB.Open();
connectionDB.Close();
Like · Reply · 30w
TRENDING UP
02 C# 8.0 - Experimenting With Non-Nullable Reference Type Using Visual Studio 2017
10 Intelligent Image Object Detection Bot Using Cognitive Computer Vision API
View All
Ask a Question
Philadelphia
New York
London
Delhi
Join C# Corner
and millions of developer friends worldwide.
Learn ASP.NET MVC Learn ASP.NET Core Learn Python Learn JavaScript Learn Xamarin
Learn Oracle More...
Home Events Consultants Jobs Career Advice Stories Partners
About Us Contact Us Privacy Policy Terms Media Kit Sitemap Report a Bug FAQ
©2018 C# Corner. All contents are copyright of their authors.