$ 0 0 I m unable to handle this piece of code in class library, because it has dropdownlist control in it.I m trying to create a two tier app.cmd.Parameters.Add("@AssignedTo", SqlDbType.NVarChar).Value = ddlExperts.SelectedItem.Text;