To develop simple window Application with database "School.mdb" and "student" table in the school.mdb database,student table with Roll no, Name and Address Field
// We will change name to s_name using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.OleDb; namespace _2012 { public partial class Form1 : Form { // OleDbCommand cmd; OleDbConnection con; // OleDbDataReader dr; OleDbDataAdapter da; OleDbCommandBuilder builder; DataSet ds; string query = ""; int max = 0,min=0; public Form1() { InitializeComponent(); con = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\anuj vb 10\2012\school.mdb"); } private void Form1_Load(object sender, EventArgs e) { label1.Text = "roll no"; label2.Text = "name"; label3.Text = "address";