How can I write this statement in class library. As I am creating a two tier application. This works in code behind but I need it to work in class library as well.
cmd.Parameters.Add("@AssignedTo", SqlDbType.NVarChar).Value = ddlExperts.SelectedItem.Text;