How to add a hidden value to DataGridView TextBox? (C#)
<p>I am working with an existing GridView and I want to know if there is a way I can have a different value and display for the TextBoxColumn, similar to a ComboBoxColumn (displaymember, valuemember). </p>

<pre><code>private System.Windows.Forms.DataGridViewTextBoxColumn PATH;

 this.PATH.DataPropertyName = "Path";
 this.PATH.HeaderText = "PATH";
 this.PATH.Name = "Path";
 this.PATH.ReadOnly = true;
 this.PATH.Width = 186;
</code></pre>

<p>Right now I have a hidden column with the ID but I am wondering if there is a better solution.</p>

<p>ETA: I have put 
PATH.DataPropertyName = "PathId" (the hidden value I want to use for update) and this.PATH.Name = "Path" (The string value I want displayed) </p>

<p>The Name value is still returned when I get the value of the column. </p>

<p>this.mySampleGridView.Rows[i].Cells["Path"].Value</p>
