private void dtvregister_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e) { if (e.ColumnIndex == 2) { TextBox tb = e.Control as TextBox; if (tb != null) { tb.PasswordChar = '*'; } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)