protected void btnAdd_Click(object sender, EventArgs e) { Relationship relationship = new Relationship(); // relationship.RelationshipID= int.Parse(ddlRelationshipID.SelectedValue); relationship.RelationshipName = txtRelationshipName.Text; int resutl = RelationshipManager.InsertRelationship(relationship); Response.Redirect("AdminDisplayRelationship.aspx"); }