private void OP_list_Load(object sender, EventArgs e) { MyDBhandler DH = new MyDBhandler(); DataTable dt1 = DH.GetTable("SELECT no as OP_Number,name as Name,panchayath as Place FROM `op` "); dataGridView1.DataSource = dt1; // dataGridView1.DataBind(); }