private void btUpdate_Click(object sender, EventArgs e) { procedure.spPost_Update(Convert.ToInt32(ltbPost.SelectedValue.ToString()), tbPostName.Text, Convert.ToInt32(cbPostParent.SelectedValue.ToString())); }