private void txtCode_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == Convert.ToChar("'")) { e.Handled = true; } }
--