protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e) { Session["ClientID"] = DropDownList2.SelectedValue; ClientDAL obj = new ClientDAL(); Session["Client"] = obj.GetClientID(); }