title: Concerned with selectedindexchanged of dropdownlist
body: <p>I have a combobox in which iam loading combobox using following code.</p>
  
  <pre><code>public void LoadCustomer1(ComboBox pCmbCustomer)
          {
              obj._dtInputParameter.Clear();
              obj.AddInputParameter("@Prm_OpFlag", "S", "String", 1);
              //obj.strSPName = "prc_CUST_Details";
              obj.strSPName = "EditCustCombo";
              DataSet ds = obj.SqlExecuteFill();
              pCmbCustomer.DataSource = ds.Tables[0];
              pCmbCustomer.DisplayMember = "CustomerId";
              pCmbCustomer.ValueMember = "CustomerId";
              pCmbCustomer.Text = "--- Select Customer Id ---";
              pCmbCustomer.SelectedIndex = 0;
  
          }
  </code></pre>
  
  <p>Problem is in pCmbCustomer.DataSource = ds.Tables[0];selected indexchanged event of combobox is working.how can i avoid selected indexchanged event while binding combobox?Can anybody help?</p>