Hi Julie Missick,
We can change the exact display value by handling CellFormatting event. Please try the following code:
EventArgs e)
DataTable dt1 = new DataTable("customer");
"name");
"password");
"aa","aaa");
DataGridViewCellFormattingEventHandler(dataGridView1_CellFormatting);
DataGridViewCellFormattingEventArgs e)
String('*', e.Value.ToString().Length);
The following link is for your reference.
DataGridView.CellFormatting Event
If you have any other questions, please feel free to ask.
Best regards,
Ling
Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.