Tech Tutorials Database
GeekArticles Microsoft C#

C# DataGrid with DataSet

Category: C#
Comments (0)

By P.T Sahul Hameed This is a simple C# Program that illustrate the usage of DataGrid with DataSet. Create Database and Table accordingly. /* * Simple C# example to illustrate the usage of Dataset with DataGrid * Need to change the url and query accordingly */ using System; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Windows.Forms; public class DataGridSample:Form{ DataGrid myGrid; SqlConnection con; SqlDataAdapter adapter; DataSet ds; Button ok,...n


Sponsored Links

Read Next: C# XML Stream Project