Try this:
protected void DDConsultantName_SelectedIndexChanged(object sender, EventArgs e)
{
SqlConnection cn = new SqlConnection();
cn.ConnectionString = ConfigurationManager.ConnectionStrings["Homeconstr"].ConnectionString;
cn.Open();
SqlCommand command = new SqlCommand("select ContactPerson_EmailID from Consultant_Detail where Consultant_Name='" + this.DDConsultantName.SelectedValue + "'", cn);
SqlDataAdapter dataAadpter = new SqlDataAdapter(command);
DataSet ds = new DataSet();
dataAadpter.Fill(ds);
if(ds != null){
LBEmailId.DataSource = ds.Tables[0];
LBEmailId.DataTextField = "ContactPerson_EmailID";
LBEmailId.DataBind();
}
}
Hope it helps!
--Amit