Result not correct :  private void ifsc_btn_Click(object sender, EventArgs e)
        {            
            string query = "select * from ifsc where branch='" + branch_txt + "'";
            OleDbConnection conn = new OleDbConnection(conString);//connection string already defined
            OleDbCommand cmd = new OleDbCommand(query, conn);
           
            try
            {
                conn.Open();
                OleDbDataReader myReader;
                myReader = cmd.ExecuteReader();//executes query
                if(!myReader.Read())
                {
                    string scode = myReader.GetString(myReader.GetOrdinal("ifsc"));//get the ifsc code from database
                    code.Text = scode;
                }
                else
                MessageBox.Show("No Data Found!");  //error message while no data found              
                conn.Close();
                myReader.Close();  //closing both connection and myreader
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);// exception
            }
        }