I would like to add a DataGridViewTextBoxCell cell to a DataGridViewCell control, but as well as being able to type in the text cell as normal it must also contain a ‘…’ button that once clicks brings up the OpenFileDialog window to allow the user to select a file. Once selected, the text cell will be populated with the full file path.
What is the best way to go about this?
Thanks
This MSDN article explains how to add a custom control to a
DataGridView.You should be able to make a
UserControlthat has a textbox and button on it and embed that in theDataGridView.