private void listBox1_Click(object sender, EventArgs e) { String lstval = Convert.ToString(listBox1.SelectedValue); c.showdata("tbl_tehsil", c.myconn, this, "tehcode", lstval); }