Try using the Text attribute of the textbox.
filePath = this.txtAttachFilePath.Text;
======================================
They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================
|